discuss-gnustep
[Top][All Lists]
Advanced

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

Re: c++ header inclusion


From: Matt Rice
Subject: Re: c++ header inclusion
Date: Mon, 2 Sep 2013 11:56:25 -0700

On Mon, Sep 2, 2013 at 2:36 AM, David Chisnall <theraven@sucs.org> wrote:

> I don't know much about the GCC implementation of PCH (last time I tried 
> using it, it slowed down compilation, although that was gcc 4.1 so it may 
> have improved).  For clang, the pch will be ignored if any of the macros that 
> conditions depend on are different, so you will need one for each set of 
> compiler flags you use.

gcc acted the same last time I looked, you can specify the language
the pch is compiled for with the `-x LANGUAGE' option and an argument
one of c++-header objective-c-header objective-c++-header



reply via email to

[Prev in Thread] Current Thread [Next in Thread]