[Freeciv-Dev] (PR#3427) Remove noreturn attribute
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
[rfalke - Wed Feb 26 20:33:43 2003]:
> On Tue, Feb 18, 2003 at 12:39:22PM -0800, Raimar Falke wrote:
> > There is another solution:
> >
> > #define die(x) real_die(x),exit(1)
>
> Attached is the patch. It compiles with gcc3.2 and icc6.0
I suspect the variadic arguments used in the macro are non-standard.
Elsewhere, in freelog(), variadic arguments are not used with non-gcc
compilers. goto_log and friends were made into functions because of
this. This is potentially a much bigger issue than just compiler
warnings; if the compiler doesn't understand this syntax compilation
will completely fail.
Can you point to any documentation on portably using variadic arguments
in macros?
jason
- [Freeciv-Dev] (PR#3427) Remove noreturn attribute, Raimar Falke, 2003/02/14
- Message not available
- [Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute, Jason Short, 2003/02/14
- Message not available
- [Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute, Raimar Falke, 2003/02/18
- Message not available
- [Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute, Jason Short, 2003/02/18
- Message not available
- [Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute, Raimar Falke, 2003/02/18
- Message not available
- [Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute, Raimar Falke, 2003/02/26
- [Freeciv-Dev] (PR#3427) Remove noreturn attribute,
Jason Short <=
- Message not available
- [Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute, Raimar Falke, 2003/02/27
- Message not available
- [Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute, Jason Short, 2003/02/27
- Message not available
- [Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute, Raimar Falke, 2003/02/27
- [Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute, Mike Kaufman, 2003/02/27
- Message not available
- [Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute, Reinier Post, 2003/02/27
- Message not available
- [Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute, Raimar Falke, 2003/02/28
- Message not available
- [Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute, Jason Short, 2003/02/28
- Message not available
- [Freeciv-Dev] Re: (PR#3427) Remove noreturn attribute, Raimar Falke, 2003/02/28
|
|