This is the mail archive of the gcc-bugs@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]

[Bug preprocessor/31186] -I/usr/include not taken into account



------- Comment #4 from vincent at vinc17 dot org  2007-05-22 22:50 -------
(In reply to comment #3)
> My recollection is that the special -I behavior is there because
> the system headers have special non-warning properties.
> This situation doesn't apply to -L.

But this introduces an inconsistency, with the effect that the version of the
header and the version of the library do not match.

> Generally speaking this is not a good idea.  Usually people *want* their
> environment to influence configure, and usually if configure overrides this
> it means difficult to fix problems on weirder systems.

But configure does override the user's environment for non-system directories
(and even system directories concerning -L). That's not logical.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31186


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