public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* out of source builds and precompiled headers
@ 2013-06-16 15:18 Rodolfo Lima
  0 siblings, 0 replies; only message in thread
From: Rodolfo Lima @ 2013-06-16 15:18 UTC (permalink / raw)
  To: gcc

I'm just pinging bug #19541 which, despite having patches with several 
solutions, isn't assigned to anybody. It's a 8 years old bug...

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

Here's the note I added there, FYI:

How difficult is it to add a parameter to add paths to precompiled 
header search list *only*?

We have a big code base with #include "pch.h" in some source files.
If source file directory is always searched first for headers, this 
breaks out-of-source builds, unless the precompiled header is generated 
in the source tree. For read-only source trees, this "solution" is 
unacceptable.

The ideal solution would be a parameter like -ipch <path> that adds 
<path> to be searched for precompiled headers *before* the current 
source directory.

I could spend some time creating a patch, but seeing that others have 
come with patches that weren't applied, this kind of demotivate me.


Best regards,
Rodolfo Lima

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-16 15:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-16 15:18 out of source builds and precompiled headers Rodolfo Lima

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).