[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#94955: Linking with libstdc++ changes behavior of a program (which does not require libstdc++)



Ben Collins writes:
 > On Sun, Apr 22, 2001 at 11:31:18PM -0700, Philippe Troin wrote:
 > > phil@resume:~% gcc -o foo foo.cpp -lstdc++
 > 
 > IMO, you should use:
 > 
 > % g++ foo foo.cpp
 > 
 > 
 > ...instead. There are a lot more things going on when using g++ other
 > than adding -lstdc++. If this works for you, then I suggest closing the
 > bug.

I cannot even reproduce this bug with the current 2.95.4 version.



Reply to: