This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/7952: obnoxious warning on -I


>Number:         7952
>Category:       c++
>Synopsis:       obnoxious warning on -I
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 17 11:46:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Benoit Hudson
>Release:        gcc-3.1, gcc-3.2
>Organization:
>Environment:
redhat 7.1
>Description:
When I say "-I /usr/local/include" I get:
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system directory

This is annoying, since that means just about all my old code gets that warning (anything that used a locally-installed library, that is).  The warning was not in any gcc prior to 3.1
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]