home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / graphics / 235 < prev    next >
Encoding:
Text File  |  1993-01-29  |  1.3 KB  |  27 lines

  1. Newsgroups: comp.sys.sgi.graphics
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!elroy.jpl.nasa.gov!swrinde!gatech!hubcap!ncrcae!ncrhub2!ncrgw2!psinntp!shellgate!jody
  3. From: jody@shell.com (Jody Winston)
  4. Subject: ImageVision and g++
  5. Message-ID: <JODY.93Jan27100301@colorado.shell.com>
  6. Sender: usenet@shellgate.shellic.com (USENET News System)
  7. Organization: Shell Development Company, Bellaire Research Center, Houston, TX
  8. Date: Wed, 27 Jan 1993 16:03:01 GMT
  9. Lines: 16
  10.  
  11. Gordon>    ....ermmm, isn't the language specification for C++ fairly strict? If I were to take pieces of C code from my SGI and attempt to compile them elsewhere, I'd like to think that I wouldn't experience too much trouble :-) (also,for example, I can compile GL programs with gcc)
  12.  
  13. Gordon>    Incidentally, the trouble is in the linking stage. With the options, -traditional-cpp and -x c++, all is OK until link, when I get :
  14.  
  15. The problem is that C++ does NOT define how name mangling should be
  16. done, how structures are laid out in memory, nor the lifespan of
  17. temporary objects.  Therefore you can't mix libraries generated by
  18. different C++ compilers.
  19.  
  20. --
  21. Joseph Winston        jody@shell.com
  22. ...!{sun,psuvax1,bcm,rice,decwrl,cs.utexas.edu}!shell!jody
  23. Consultant to:
  24. Shell Development Company, Bellaire Research Center
  25. P.O. Box 481, Room 4205, Houston, TX 77001    (Voice: 713 245-7574)
  26.  
  27.