You specified --site-includes=/usr/local/include, I guess.
You don't want to do that, because gcc automatically includes
/usr/local/include in the include file search path. (Don't ask my
opinion of this.) Older gcc's did not generate a warning when you
added a "system" path on the command line, I think.
HTH,
Vin
Katsumi Yamaoka <yamaoka(a)jpl.org> writes:
GCC 3.1 will say warning messages in stderr if the directories
search order for header files is changed from the default value.
Because of this, it fails to configure XEmacs in my machine as
follows:
configure:6500: checking for X11/Intrinsic.h
configure:6508: gcc -E -I/usr/local/include -I/usr/dt/include -I/usr/local/X11/include
conftest.c >/dev/null 2>conftest.out
cpp0: warning: changing search order for system directory "/usr/local/include"
cpp0: warning: as it has already been specified as a non-system directory
configure: failed program was:
#line 6503 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
Any ideas? I'm going to modify gcc-3.1/gcc/cppinit.c don't say
such messages and rebuild GCC 3.1.
--
Katsumi Yamaoka <yamaoka(a)jpl.org>