View previous topic :: View next topic |
Author |
Message |
TheHaas n00b
Joined: 13 Jun 2002 Posts: 61
|
Posted: Wed Aug 14, 2002 4:19 pm Post subject: postfix <--> changing search order warning |
|
|
I recently upgraded to gcc3 following the directions in another thread (but holding off on re-compiling my whole system for now). However, I was trying to upgrade Postfix, and I get the following warning for almost every source file:
Code: |
cc -DHAS_SSL -I/usr/include -DHAS_PCRE -march=i686 -O3 -pipe -I. -DLINUX2 -c match_list.c
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning: as it has already been specified as a non-system directory
|
I found a link describing the warning, saying that it could be a sign of using bad headers:
http://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Directory-Options.html#Directory%20Options
Is it a problem in this case? Should I upgrade my libraries first? |
|
Back to top |
|
|
trapni Retired Dev
Joined: 16 May 2002 Posts: 251 Location: Germany/Berlin
|
Posted: Wed Aug 14, 2002 8:44 pm Post subject: |
|
|
Hey,
don't care about that line.... This *warning* messages was raised because the Makefile maintainer specifically passed the -I/usr/include system directory to GCC. But this directory is known by default.
Greets,
Christian Parpart. |
|
Back to top |
|
|
mglauche Retired Dev
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Wed Aug 14, 2002 8:44 pm Post subject: |
|
|
this warning can be ignored safely. its probably because there is an -I/usr/include switch in postfix make, but it really doesn't matter. |
|
Back to top |
|
|
TheHaas n00b
Joined: 13 Jun 2002 Posts: 61
|
Posted: Wed Aug 14, 2002 8:59 pm Post subject: |
|
|
mglauche wrote: | this warning can be ignored safely. its probably because there is an -I/usr/include switch in postfix make, but it really doesn't matter. |
I had that feeling, <b>but</b> it was weird to me. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Aug 19, 2002 2:53 am Post subject: |
|
|
GCC3 to OTG, spooked by compiler warning. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Mon Aug 19, 2002 2:57 am Post subject: |
|
|
News & Announcements to OTG, since rac seems to have missed that one. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
|