This is the mail archive of the gcc@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]

Re: PCH is used only for the first header


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...


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