This is the mail archive of the gcc-patches@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]

Re: [v3] libstdc++/12854


Benjamin Kosnik <bkoz@redhat.com> writes:

| >Why doesn't
| >
| >#pragma GCC system_header
| >
| >address this issue?
| 
| what do you mean? Why does -Weffc++ appear to ignore this pragma?

I think by default we don't warn in system headers, unless
-Wsystem-headers.  The fact that the warning are showing up means
there is bug somewhere, either missing "#pragma GCC system_header" or
in the diagnostic machinery.

-- Gaby


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