This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PCH is used only for the first header
- From: Tim Jansen <ml at tjansen dot de>
- To: "Briltz, Denis" <Denis dot Briltz at intel dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 31 May 2003 13:56:25 +0200
- Subject: Re: PCH is used only for the first header
- References: <67B5ACB373D0D411B9BD00508BD951A702831396@nnsmsx30.inn.intel.com>
- Reply-to: tim at tjansen dot de
On Saturday 31 May 2003 13:35, Briltz, Denis wrote:
> >"A precompiled header file can be used only when these conditions apply:
> >[...] Only one precompiled header can be used in a particular
> > compilation."
> Does "only one" means "only first one"? What if I want only "b.h.gch" to be
> used?
I think the supposed solution is that you create a new file "all.h" that
contains
#include "a.h"
#include "b.h"
and then include all.h.
bye...