[Bug pch/52518] gcc fails to find pch files in subincludes

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 7 09:53:00 GMT 2012


Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2012-03-07
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-07 09:51:55 UTC ---
(In reply to comment #3)
> (In reply to comment #2)
> > This is expected as the token is #include .
> The documentation suggests that that shouldn't be a problem:
> "you can even include a precompiled header from inside another header"

No, that never worked ok, and it was changed to error (instead of crash ;))
by intent.

The documentation wasn't updated for that fact, I'll do that now.

More information about the Gcc-bugs mailing list