Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11276) [C++] client/tilespec.h refers to an enum c
Home

[Freeciv-Dev] Re: (PR#11276) [C++] client/tilespec.h refers to an enum c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: fbriere@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11276) [C++] client/tilespec.h refers to an enum constant out of scope
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 1 Dec 2004 12:04:34 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=11276 >

Frédéric Brière wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=11276 >
> 
> On Wed, Dec 01, 2004 at 11:30:24AM -0800, Vasco Alexandre da Silva Costa 
> wrote:
> 
>>I *hate* this sort of stuff. Please figure out how to get the code to be
>>both valid C and C++ without using #ifdefs.
> 
> 
> Then, the enum will have to come out of the struct.  If you let me know
> what it should be called (since it obviously can't stay anonymous), I'll
> provide a patch.

I guess citizen_class is okay.

-jason





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