Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2003:
[Freeciv-Dev] Re: (PR#6223) improved die()
Home

[Freeciv-Dev] Re: (PR#6223) improved die()

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6223) improved die()
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Sep 2003 07:18:28 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Per I. Mathisen wrote:
> On Mon, 22 Sep 2003, Morgan Jones wrote:
> 
>>>What compilers are freeciv compiled with on Amiga and VMS, BTW?
> 
> 
>>The Amiga version (gui-mui) has been set up to compile with SAS/C or
>>VBCC.
> 
> 
> Do they support C99 variadic macros?
> 
> To figure that out, try to compile this:
> 
>       #define test_me(...) printf(__VA_ARGS__)
> 
>       int main(char *argv, int argc)
>       {
>         test_me("hello world");
>       }

It should be easy enough to turn this into a configure-time check, and 
then #define HAVE_VARIADIC_MACROS.  We wouldn't need a full check for C99.

jason




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