This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/21951] [gcc-4.0 regression, rejects-valid] std::vector.reserve() unusable with -Werror -Wall -O -fno-exceptions


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-07 18:16 -------
(In reply to comment #2)
> > You may retartget this pr to fixing the silliness in libstdc++, if you want.

 Paolo I copied the quote fully when I really should not have.  RTH did not know we could not fix the 
if(0) part in libstdc++ at the time he wrote that comment, if you read the next comment in that bug I 
explain why it cannot be fixed in libstdc++ (comment #3 in PR 19699):
(In reply to comment #2)
> You may retartget this pr to fixing the silliness in libstdc++, if you want.
Actually it is only silliness as try/catch is changed to be "if (true)"/"if (false)" if we don't have exceptions.  
There is nothing can be done to the libstdc++ headers to fix this.

-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]