This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/36277] Please allow directing pch file localization/usage via direct compiler flag.
- From: "bursig at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 May 2008 16:16:06 -0000
- Subject: [Bug pch/36277] Please allow directing pch file localization/usage via direct compiler flag.
- References: <bug-36277-16198@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from bursig at gmail dot com 2008-05-20 16:16 -------
(In reply to comment #3)
> >As I know gcc search headers in *.c/*.cpp dir before
> touch -I search paths.
>
> Only for "" include directories and you can disable that with at one point with
> -I- so ...
>
hmm...
1) any pch.h is project specific file then should use "" and not <>.
2) -I- is deprecated and I don't know when it disappear.
3) Using it force me to review all project and secure all -I sequences and
track of all not exit source dir on -I paths.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36277