This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc.dg/c90-intconst-1.c
On Sat, 2003-05-17 at 15:06, Joseph S. Myers wrote:
> On Sat, 17 May 2003, Eric Christopher wrote:
>
> > Sorry about that. The newlib version of limits.h uses #include_next.
>
> But this shouldn't generate a warning because <limits.h> should be a
> system header. If the compiler is getting run with the relevant directory
> not counted as a system header, then it is the test harness that should be
> fixed to use -isystem where appropriate.
I'm not sure I understand so I'll try repeating what you said a
different way :)
-pedantic shouldn't warn for system header files
the newlib header files should probably be preferenced with -isystem to
avoid these kinds of warnings like this. Need to change dejagnu's
libgloss.exp for this. Anyone know where the current dejagnu repository
is and who is in charge?
-eric
--
Eric Christopher <echristo@redhat.com>