[C++0x] fix libstdc++/41005 - missing fstream instantiations

Jonathan Wakely jwakely.gcc@gmail.com
Wed Aug 12 18:35:00 GMT 2009


We already compile src/string-inst.cc and src/wstring-inst.cc with
-std=gnu0x so that the new members are instantiated in the library,
this does the same for fstream-inst.cc.

        PR libstdc++/41005
        * src/Makefile.am (fstream-inst.o): Compile as C++0x.
        * src/Makefile.in: Regenerate.
        * config/abi/pre/gnu.ver: Add new exports and adjust old ones to
        be more precise.

The linker script changes are necessary so that the new symbols are
not matched by the patterns in the 3.4 version.  Tested x86_64/linux,
OK for trunk?

And 4.4 branch when I've tested it there?

How would I add the symbols to the 4.4 linker map?  Would the fstream
ones go in 3.4.13 and then the <future> symbols on trunk get moved to
a new 3.4.14 version?

Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr41005.patch
Type: text/x-patch
Size: 4068 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090812/fb35500a/attachment.bin>


More information about the Gcc-patches mailing list