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

Jens Seidel <jensseidel at users dot sf.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jensseidel at users dot sf.net

--- Comment #8 from Jens Seidel <jensseidel at users dot sf.net> ---
According to http://www.cplusplus.com/reference/ostream/ostream/ostream/ (yes,
it's not the standard) std::ostream should provide NO default constructor at
all.

In my code "class A : public std::ostream {};" was accepted even with g++ 7
with strongest warning levels whereas it fails on other compilers. What now?
Even if binary compatibility is an issue at least some diagnostics could be
printed.

Reply via email to