[Bug libstdc++/16251] bogus default constructor for std::basic_iostream

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 18 12:40:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16251

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
We could add a deprecated attribute to the default ctor (or even make it
private) for -pedantic or for -std=c++NN modes, but IMHO doing so is very very
low priority.

Some code compiles with one implementation and not with others. You have to
deal with that.


More information about the Gcc-bugs mailing list