c++/7952: obnoxious warning on -I

bh@techhouse.brown.edu bh@techhouse.brown.edu
Tue Sep 17 11:46:00 GMT 2002


>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:



More information about the Gcc-bugs mailing list