Re: precompiled headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Yannick Beynet" <beynet@xxxxxxxxxxxx> writes:

> I try to use precompiled headers with gcc 3.4.0
> It's working but I notice that sometimes they are not used.
> for example in a cpp file witch starts like :
> #include "h1.H"
> #include "h2.H"
> 
> h1.H.gch is used, but most of time h2.H.gch is not used. I guess it is
> because h1.H includes some files witch are not also precompiled. Am I
> right ?

Only one precompiled header is used per compilation.  See the
documentation.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux