[Bug libstdc++/60724] std::ostream o; gives protected errors

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 1 01:58:00 GMT 2014


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fails in GCC 4.4.5 and GCC 4.7.0 with the same error message.

Why don't you use ostringstream or wostringstream instead?



More information about the Gcc-bugs mailing list