problems with locale.cc
Benjamin Kosnik
bkoz@cygnus.com
Mon Apr 12 10:11:00 GMT 1999
> After working around the first problem, I ran
> into the next. Using '-fstrict-aliasing -fno-
Please send your patch for working around the first problem.
> honor-std', I get the failure in locale-inst.cc
> listed below:
Native linux egcs snapshots have no problems with:
%c++ -DHAVE_CONFIG_H -I. -I../../src.libstdc++/src -I.. -nostdinc++
-I../../src.libstdc++ -I../../src.libstdc++/stl
-I../../src.libstdc++/libio -g -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates -fimplicit-templates -fstrict-aliasing
-fno-honor-std -c -fPIC -DPIC ../../src.libstdc++/src/locale-inst.cc -o
locale-inst.lo
And likewise with a native 1.1.2 compiler:
%$ncomp/H-x86-egcs-1.1.2/bin/g++ -DHAVE_CONFIG_H -I.
-I../../src.libstdc++/src -I.. -nostdinc++ -I../../src.libstdc++
-I../../src.libstdc++/stl -I../../src.libstdc++/libio -g -fvtable-thunks
-D_GNU_SOURCE -fno-implicit-templates -fimplicit-templates
-fstrict-aliasing -fno-honor-std -c -fPIC -DPIC
../../src.libstdc++/src/locale-inst.cc -o locale-inst.lo
So perhaps this is platform-specific?
-Benjamin
More information about the Libstdc++
mailing list