[Bug c++/69924] gcc5.2 compile Error: std::basic_istream: no match for 'operator>>', while gcc 4.8 works

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 24 19:34:00 GMT 2016


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

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

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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
As Daniel says, casting the result of the expression doesn't help if the
expression itself doesn't compile.

Still invalid code, not a gcc bug, so closing again.


More information about the Gcc-bugs mailing list