On Sun, 3 Jun 2007, James Supancic wrote:
I'm working on a C++ GUI for freeciv. I need to make some calls into
the C component of client. The problem I'm running into is that the
freeciv header files are neither standard C or C++ compatible.
For example:
typedef enum a b;
enum a { A, B };
Even with -fpermissive g++ rejects it. I moved the enum typedef from
fc_types.h to unit.h (after the enum declaration) and did 'make clean
make' and everything builds fine.
It looks like the attached patch does what I need (as far as I know at
this point). Basically I use an #ifdef __cplusplus
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39384
Hi there,
In a recent civ game I happened to start right next to an AI player, and
when I destroyed his two starting cities around 3000 BC, the player was
left in the game with two worker units left. The player should be dead
as workers
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39384
On Mon, Jun 04, 2007 at 12:00:18PM -0700, Martin Killmann wrote:
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39384
Hi there,
In a recent civ game I happened to start right next to an AI player, and
when I destroyed his