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: PATCH: Wno-warning-directives [WasRe: cpplib: Start moving ...]


On Mon, Aug 12, 2002 at 05:31:56PM -0700, Stan Shebs wrote:
> ... you're screwed if an evil header developer adds something like
> 
>    #warning "Revisit this typedef after Jaguar ships."

Well, yes, you are screwed.  I can't help it if some of
your developers are idiots.  All I can suggest is that
you teach them to do otherwise.  And then edit your local
copy of the header to delete the warning.

It's similar to the problem of glibc using gcc extensions
without __extension__, which generates -pedantic warnings.
(Except that Uli fixes these when found.  ;-)


r~


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