From f7b6f250d745be9585229d2134873fb9690fbf2d Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Thu, 8 Apr 2004 23:13:05 +0000 Subject: [PATCH] invoke.texi (Precompiled Headers): Warn about known problems. * doc/invoke.texi (Precompiled Headers): Warn about known problems. From-SVN: r80529 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aafeafa41aa..43aa975d65f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-04-08 Mark Mitchell + + * doc/invoke.texi (Precompiled Headers): Warn about known + problems. + 2004-04-08 Danny Smith PR c++/14808 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 8afebf5fcbb..8c12a8b158a 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -11336,6 +11336,13 @@ build the project. To make builds faster, GCC allows users to `precompile' a header file; then, if builds can use the precompiled header file they will be much faster. +@strong{Caution:} There are a few known situations where GCC will +crash when trying to use a precompiled header. If you have trouble +with a precompiled header, you should remove the precompiled header +and compile without it. In addition, please use GCC's on-line +defect-tracking system to report any problems you encounter with +precompiled headers. @xref{Bugs}. + To create a precompiled header file, simply compile it as you would any other file, if necessary using the @option{-x} option to make the driver treat it as a C or C++ header file. You will probably want to use a -- 2.30.2