This is the mail archive of the gcc-help@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: Gcc precompiled header problem.


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
>


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