[Bug libstdc++/21951] [4.0 only] std::vector.reserve() unusable with -Werror -Wall -O -fno-exceptions

bkoz at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jun 8 19:16:00 GMT 2005


------- Additional Comments From bkoz at gcc dot gnu dot org  2005-06-08 19:16 -------

This is a compiler bug. If they don't fix it in 4.0.x, then we'll have to work
around it in libstdc++ 4.0 sources only. 

People have suggested a patch to add a dummy return. If that's posted, it seems
to be perfectly acceptable to me. I suggest that be posted...

-benjamin

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21951



More information about the Gcc-bugs mailing list