This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/71613] Useful warnings silenced when macros from system headers are used


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

--- Comment #6 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Rather than piecemeal fixes with no evidence of completeness, I think we 
should disable the smarts around system header macro locations determining 
whether diagnostics appear (i.e., the system-header tests for disabling 
diagnostics should all use the expansion location), until we have a proper 
design for avoiding such issues and have systematically reviewed all 
diagnostics for conforming to such a design (if the design needs each 
diagnostic function call to be reviewed).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]