Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2001:
[Freeciv-Dev] Re: (GCC errors)7 patches to freeciv-1.11.4 (3rd try)
Home

[Freeciv-Dev] Re: (GCC errors)7 patches to freeciv-1.11.4 (3rd try)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Thue <thue@xxxxxxx>
Cc: Freeciv Developers List <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: (GCC errors)7 patches to freeciv-1.11.4 (3rd try)
From: Stepan Roh <stepan@xxxxxxxx>
Date: Mon, 26 Feb 2001 01:03:32 +0100 (CET)


On Mon, 26 Feb 2001, Thue wrote:

>               #define log(level, args...)  reallylog((level) , ##args)
>       has to be changed to
>               #define log(level, args...)  reallylog((level) , args)
>       to prevent lots of strange error messages.
>
>       This patch makes common/log.h work with gcc 2.96, which is great if you
>       want to compile under 2.96, but REALLY BAD if you are using an earlier
>       version of gcc.

Works for me on egcs-2.91.66. Anyway, I've never used ##syntax for this in
my code and had no problems with that.

Have a nice day.

Stepan Roh




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