This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][DOC] Fix PR52518, document PR38987
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 7 Mar 2012 10:54:11 +0100 (CET)
- Subject: [PATCH][DOC] Fix PR52518, document PR38987
Installed.
Richard.
2012-03-07 Richard Guenther <rguenther@suse.de>
PR pch/52518
PR pch/38987
* doc/invoke.texi (Precompiled Headers): Remove sentence that
suggests you can include PCHs from inside another header.
Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi (revision 185025)
+++ gcc/doc/invoke.texi (working copy)
@@ -19884,9 +19884,8 @@ Only one precompiled header can be used
@item
A precompiled header can't be used once the first C token is seen. You
-can have preprocessor directives before a precompiled header; you can
-even include a precompiled header from inside another header, so long as
-there are no C tokens before the @code{#include}.
+can have preprocessor directives before a precompiled header; you cannot
+include a precompiled header from inside another header.
@item
The precompiled header file must be produced for the same language as