[Freeciv-Dev] Re: Mac OS X help
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, 16 Jun 2001, shebs@xxxxxxxxxxxxxxxxx wrote:
> Gaute B Strokkenes wrote:
>>
>> Try:
>>
>> % CC="gcc -no-cpp-precomp" ./configure bla-bla
>>
>> where you substitue everything else you put on the command line for
>> "bla-bla". I'm not sure this will work since I don't have a real
>> mac to test it on, but there you are.
>
> freelog() in common/log.h is a varargs macro, which is a GNU
> extension not supported by Apple's precompiled-header-using
> preprocessor cpp-precomp. I looked into adding it one time, but
> it's surprisingly heinous to implement, and not much point, since
> we want to get precompiled headers working in GCC proper instead.
>
> In any case, -no-cpp-precomp is the right option to use for this
> kind of problem.
Is there define or somesuch that can be used to detect whether the
preprocessor in use is the vanilla GCC one or the Apple one?
--
Big Gaute http://www.srcf.ucam.org/~gs234/
I want to read my new poem about pork brains and outer space...
|
|