Thread View: comp.sys.sgi.graphics
1 messages
1 total messages
Started by Jody Winston
Wed, 27 Jan 1993 16:03
ImageVision and g++
Author: Jody Winston
Date: Wed, 27 Jan 1993 16:03
Date: Wed, 27 Jan 1993 16:03
15 lines
1378 bytes
1378 bytes
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)
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 :
The problem is that C++ does NOT define how name mangling should be
done, how structures are laid out in memory, nor the lifespan of
temporary objects. Therefore you can't mix libraries generated by
different C++ compilers.
--
Joseph Winston jody@shell.com
...!{sun,psuvax1,bcm,rice,decwrl,cs.utexas.edu}!shell!jody
Consultant to:
Shell Development Company, Bellaire Research Center
P.O. Box 481, Room 4205, Houston, TX 77001 (Voice: 713 245-7574)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads