Organization: Shell Development Company, Bellaire Research Center, Houston, TX
Date: Wed, 27 Jan 1993 16:03:01 GMT
Lines: 16
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