Article View: gnu.g++
Article #75symbol incompatibility
From: Rich Johns
Date: Tue, 01 Aug 1989 21:57
Date: Tue, 01 Aug 1989 21:57
26 lines
1291 bytes
1291 bytes
I have just upgraded from g++ 1.32 to g++ 1.35.1. I was hoping only to
have to recompile my application. It turns out g++ 1.32 generates the
following symbol for a method involving a boolean arg:
_DoInsert_PSWorld_PSInteractor_Eboolean_SI_SI
whereas g++ 1.35.1 generates the followiwng for the same method:
_DoInsert_PSWorld_PSInteractor_E$_0_SI_SI
This means that all libraries, previously compiled with g++ 1.32
that my application(s) links with, must also be recompiled, otherwise
I get a lot of undefined symbols :-(
Just out of curiosity, how much benefit is derived from switching the
way booleans are represented?
I have just discovered that I must recompile all the libraries
originally compiled with g++ 1.32
Rich Johns, MCC CAD Program | 3500 W. Balcones Center Dr., Austin, TX 78759
ARPA: johns@mcc.com | Phone: [512] 338-3714
UUCP: {uunet,harvard,gatech,pyramid}!cs.utexas.edu!milano!cadillac!johns
Technical Details
Message-ID:
<2008@cadillac.CAD.MCC.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!milano!cadillac!redcloud!rpjShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!milano!cadillac!redcloud!rpj From: rpj@redcloud.cad.mcc.com (Rich Johns) Newsgroups: gnu.g++ Subject: symbol incompatibility Message-ID: <2008@cadillac.CAD.MCC.COM> Date: 1 Aug 89 21:57:09 GMT Sender: news@cadillac.CAD.MCC.COM Lines: 26