[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]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=11276 >
On Wed, 1 Dec 2004, [UTF-8] Frédéric Brière wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=11276 >
>
> C++ defines structures as having their own scope; this patch fixes a
> reference to an enumeration constant from outside the scope of its
> enclosing structure. (The structure itself is defined in
> client/citydlg_common.h)
I *hate* this sort of stuff. Please figure out how to get the code to be
both valid C and C++ without using #ifdefs.
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
|
|