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 pch/52518] gcc fails to find pch files in subincludes


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

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.


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