This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib 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]

patch to prevent cc1 warnings



This patch + regenerating newlib configuration files prevents cc1
warnings like:

cc1: warning: changing search order for system directory
"/notnfs/fitzsim/src-newlib-cygwin/i686-pc-cygwin/newlib/targ-include"
cc1: warning:   as it is the same as non-system directory
"../../targ-include"
cc1: warning: changing search order for system directory
"/home/fitzsim/sources/src-gcc-devel/gcc/newlib/libc/include"
cc1: warning:   as it has already been specified as a non-system
directory

cc1: warning: changing search order for system directory
"/home/fitzsim/sources/src-gcc-devel/gcc/winsup/cygwin/include"
cc1: warning:   as it has already been specified as a non-system
directory
cc1: warning: changing search order for system directory
"/home/fitzsim/sources/src-gcc-devel/gcc/winsup/w32api/include"
cc1: warning:   as it has already been specified as a non-system
directory

Previously, these includes were specified as -isystem's in the top-level
configure.in's FLAGS_FOR_TARGET, AND as -I's in newlib_cflags in
newlib's acinclude.m4.  This patch removes the -I flags from
newlib_cflags.

Any objections?

Tom

-- 
Thomas Fitzsimmons
Red Hat Canada Limited        e-mail: fitzsim@redhat.com
2323 Yonge Street, Suite 300
Toronto, ON M4P2C9

Attachment: newlib-cc1-warnings-patch
Description: Text document


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