Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Warnings during compilation with /usr/lib ....
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Tealc
n00b
n00b


Joined: 13 May 2002
Posts: 15

PostPosted: Fri Sep 27, 2002 3:39 pm    Post subject: Warnings during compilation with /usr/lib .... Reply with quote

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
View user's profile Send private message
carpaski
Retired Dev
Retired Dev


Joined: 04 Aug 2002
Posts: 43
Location: Chicago, IL

PostPosted: Mon Sep 30, 2002 11:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum