This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: problems with locale.cc
- To: "Mark E." <snowball3@usa.net>
- Subject: Re: problems with locale.cc
- From: Benjamin Kosnik <bkoz@cygnus.com>
- Date: Mon, 12 Apr 1999 10:10:32 -0700 (PDT)
- cc: libstdc++@sourceware.cygnus.com
> 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