Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] Re: (PR#11213) Making client headers compatible with C++
Home

[Freeciv-Dev] Re: (PR#11213) Making client headers compatible with C++

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#11213) Making client headers compatible with C++
From: "Frédéric Brière" <fbriere@xxxxxxxxxxx>
Date: Fri, 26 Nov 2004 22:04:09 -0800
Reply-to: rt@xxxxxxxxxxx

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

Lucky me, I've found two more instances when switching from beta4 to
CVS:


> 2.  common/fc_types.h typedefs Specialist_type_id as an enum
>     specialist_type, which hasn't been defined at that point.  This

Ditto for the Output_type_id typedef two lines below.

> 3.  common/nation.h defines struct nation_type as having a member named
>     class, which is a reserved keyword in C++.  There are several

This also occurs in client/options.h with struct client_option.  No
client appears to be making use of it so far, so renaming it should be a
one-line job.


-- 
             Frédéric Brière    <*>    fbriere@xxxxxxxxxxx

 =>  <fbriere@xxxxxxxxxx> IS NO MORE:  <http://www.abacomsucks.com>  <=





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