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

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

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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Upstream need to fix their code, there is no implicit conversion from
basic_istream to bool in C++11, so gcc-5 is correct to reject the code.

return static_cast<bool>(is.read(static_cast<char *>(p), len));

Reply via email to