View previous topic :: View next topic |
Author |
Message |
Tealc n00b
Joined: 13 May 2002 Posts: 15
|
Posted: Fri Sep 27, 2002 3:39 pm Post subject: Warnings during compilation with /usr/lib .... |
|
|
Hello,
I've startet my first project cpp project on gentoo. Before that I was working with SuSE. Now I receive a warning from compiler which I do not not understand:
Code: |
cc1plus: warning: changing search order for system directory "/usr/include"
cc1plus: warning: as it has already been specified as a non-system directory
|
Ofcause one of my compiler flags is -I/usr/include to tell him where to finde the standard include files.
Does anyone know how to fix this ??
Best Regards,
Tealc |
|
Back to top |
|
|
carpaski Retired Dev
Joined: 04 Aug 2002 Posts: 43 Location: Chicago, IL
|
Posted: Mon Sep 30, 2002 11:38 am Post subject: |
|
|
You have to fix it in the makefile. Ignore it as it has no real bearing.
It was a warning message introduced into GCC, and will be there until
all packages become compliant to the newly not-quite-yet-enforced rules. _________________ Nicholas Jones <carpaski@gentoo.org>
Gentoo Linux Developer |
|
Back to top |
|
|
|