This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: "changing search order for system directory" warnings building li bgcc
> see http://gcc.gnu.org/ml/gcc-patches/2001-07/msg00283.html
Since so many other people are reporting that warning even without
-isystem, perhaps the warning is inappropriate, or should be disabled
by default? Hacking the makefile to remove -isystem for that one case
is not going to fix all the other cases that have been reported,
including testsuites failing and a plain "gcc foo.c" giving warnings.
And if we do change the Makefile, it would be better to add a new
option to delete the old system include path and explicitly add in the
path we want, especially as your patch makes it seem that getting the
order right is critical to success.
> Alexandre, as build system maintainer, please tell me which way
> you'd prefer this fixed.
Alex and I are both build maintainers, but I have already expressed a
preference to keep it as-is, at least until the other issues with this
warning are resolved. However, if Alex has a strong opinion one way
or the other, I will defer to him.