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]

Re: #include_next fix for libio


On Sun, Apr 02, 2000 at 10:20:15PM -0700, Jason Merrill wrote:
> Why is this necessary?  I missed the relevant cpp changes.

If -Wtraditional is on, #include_next will get a warning.  The warning
is disabled in system headers, but when you're compiling libio, that
wrapper isn't considered a system header.  (See the other thread on
this.)

I just grepped the entire tree for #include_next - if libio isn't
compiled with -Wtraditional, the patch is unnecessary (but harmless).

zw

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