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

--- Comment #2 from Aleksey Covacevice <aleksey.covacevice at gmail dot com> 
2010-10-21 21:31:14 UTC ---
Richard, thanks for the reply.

Actually the documentation states that other preprocessor directives (such as
"#define"s) can appear before the include line that would include the PCH.
Nevertheless, that is not really the case. In fact it also states that only a
single precompiled header can be used in a particular compilation, and I think
the symptom must be somewhat related to this.

I believe this must be a bug, because even if GCC couldn't use a PCH for any
reason previously stated, it should ignore it and use the original include
file, which in this scenario it can be properly found in the search path.

Thanks again,
Alek

Reply via email to