From: Mark Mitchell Date: Thu, 8 Apr 2004 23:13:05 +0000 (+0000) Subject: invoke.texi (Precompiled Headers): Warn about known problems. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7b6f250d745be9585229d2134873fb9690fbf2d;p=gcc.git invoke.texi (Precompiled Headers): Warn about known problems. * doc/invoke.texi (Precompiled Headers): Warn about known problems. From-SVN: r80529 --- 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