This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/71613] Useful warnings silenced when macros from system headers are used
- From: "ch3root at openwall dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Jun 2016 17:32:16 +0000
- Subject: [Bug c/71613] Useful warnings silenced when macros from system headers are used
- Auto-submitted: auto-generated
- References: <bug-71613-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71613
--- Comment #5 from Alexander Cherepanov <ch3root at openwall dot com> ---
This bug also affects -pedantic-errors, i.e. it's not merely a cosmetic
bug but also a conformance issue. I don't know how -std=c11 can ignore
constraint violations but -pedantic-errors is supposed to fix it.
BTW gcc extension "non-int enum constants" is not documented?