Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2001:
[Freeciv-Dev] Re: Mac OS X help
Home

[Freeciv-Dev] Re: Mac OS X help

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gaute B Strokkenes <gs234@xxxxxxxxx>
Cc: Thomas Cherry <jceaser@xxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Mac OS X help
From: Stan Shebs <shebs@xxxxxxxxxxxxxxxxx>
Date: Sat, 16 Jun 2001 05:41:48 -0700
Reply-to: shebs@xxxxxxxxxxxxxxxxx

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


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