Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute

[Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Feb 2003 01:42:21 -0800
Reply-to: rt@xxxxxxxxxxxxxx

Raimar Falke wrote:
> On Thu, Feb 27, 2003 at 12:37:16AM -0800, Jason Short wrote:

>>Can you point to any documentation on portably using variadic arguments
>>in macros?
> This construct is part of the C99 standard.
> Argument substitution
> ...
> An identifier __VA_ARGS__ that occurs in the replacement list shall be
> treated as if it were a parameter, and the variable arguments shall
> form the preprocessing tokens used to replace it.
> There is also a nice example of its usage in " Scope of macro
> definitions".

Well, that's good, but unfortunately it brings us back to the C99 argument.

I'm in favor of using C99 (instead of C89).


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