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

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

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute
From: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxx>
Date: Fri, 28 Feb 2003 02:14:37 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Fri, Feb 28, 2003 at 01:13:39AM -0800, Jason Short wrote:
> Raimar Falke wrote:
> > On Thu, Feb 27, 2003 at 09:19:18AM -0800, Reinier Post wrote:
> 
> > Next version without variadic arguments. Tested with gcc and icc6.
> 
> > +#define die(format, args...)    \
> > +  do{                           \
> > +    real_die(format , ## args); \
> > +    exit(EXIT_FAILURE);         \
> > +  } while(0)
> > +
> 
> Um, those are variadic arguments.

*reading* Yes. __VA_ARGS__ is the version from C99. "## args" is the
gcc extension.

So since we don't want/can require a C99 compiler I will propose again
my first fix.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "SIGDANGER - The System is likely to crash soon"




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