[Bug c++/60978] -Wenum-compare warns too eagerly

ppluzhnikov at google dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 2 22:33:00 GMT 2014


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

--- Comment #11 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
(In reply to Jason Merrill from comment #10)

> Interesting, in glibc 2.18 (at least in glibc-headers-2.18-16.fc20.x86_64)
> they are in the same enum.

The in.h is actually part of kernel, not glibc itself.
We used linux-3.12.6 "make headers_install" to get include/netinet/in.h.



More information about the Gcc-bugs mailing list