Dejagnu: use -isystem to include system header files.

Nick Clifton nickc@redhat.com
Thu Nov 11 14:22:00 GMT 2004


Hi Guys,

  I am going to check in the attached patch which imports a fix from
  the mainline dejagnu sources.  This fix is to use the -isystem
  switch to include system header files rather than -I.  This fixes
  several unexpected failures in the GCC and G++ testsuites where the
  newlib system header file <limits.h> is included in strict ANSI
  mode, and the compiler barfs on the #include_next directive.

Cheers
  Nick
  
dejagnu/ChangeLog  
2004-11-11  Nick Clifton  <nickc@redhat.com>

	* Import this patch from dejagnu mainline sources.  It fixes
	unexpected failures in the GCC and G++ testsuites where <limits.h>
	is #include's in strict ANSI mode.
	
	2002-11-12  Hans-Peter Nilsson  <hp@bitrange.com>

        * lib/libgloss.exp (newlib_include_flags): Use -isystem, not -I.
        (libio_include_flags, g++_include_flags, libstdc++_include_flags,
        winsup_include_flags): Ditto.
        * doc/user.sgml (Local Config File): Use -isystem, not -I, in
        example.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: isystem.patch
Type: text/x-patch
Size: 10520 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20041111/739a10e1/attachment.bin>


More information about the Newlib mailing list