[Bug libstdc++/67996] std::ios_base::seekdir raises -Wswitch with Clang

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Oct 17 13:49:00 GMT 2015


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

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

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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Then maybe the warning needs to be smarter, e.g. not warn for enumerators
defined in system headers using the implementation's reserved names.

In any case, it's not a libstdc++ problem, our code is correct, and GCC doesn't
issue any warning.



More information about the Gcc-bugs mailing list