Gcc precompiled header problem.

François Leblanc fleblanc50@gmail.com
Mon Jun 4 07:38:00 GMT 2018

Thamk you. I've seen this, but I don't understand this way at all ...

So perhaps documentation should be simply saying something like (this
will help for no english users like me like you can see) :
- You can't use precompiled header inside precompiled header

Perhaps someone can give me the reason why it is not possible
just by curiosity thank you.

Le lun. 4 juin 2018 à 09:07, Jonathan Wakely <jwakely.gcc@gmail.com> a
écrit :

> On 4 June 2018 at 05:49, François Leblanc wrote:
> > With GCC 6.3.0 at least, if you try to compile a precompiled header witch
> > include an another header that you have already precompiled, it don't use
> > the precompiled one but the no precompiled.
> This is clearly documented:
> "A precompiled header file can be used only when these conditions apply:
> - Only one precompiled header can be used in a particular compilation."
> https://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html

More information about the Gcc-help mailing list