[Freeciv-Dev] Re: Mac OS X help
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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.
Stan Shebs
shebs@xxxxxxxxx
|
|