[Freeciv-Dev] (PR#39383) BUG: terrain and resource name translation

2007-06-03 Thread William Allen Simpson
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39383 While trying to debug some of my terrain changes, it was frustrating that some error messages had empty (missing/blank) fields. Numerous messages tried to insert a translated name into log messages that are not translated. (I'm running

[Freeciv-Dev] Permission to make freeciv headers standard C/C++ compatible.

2007-06-03 Thread James Supancic
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 }; When this is compiled with g++ or 'gcc

Re: [Freeciv-Dev] (PR#39383) BUG: terrain and resource name translation

2007-06-03 Thread William Allen Simpson
URL: http://bugs.freeciv.org/Ticket/Display.html?id=39383 In this version, I moved the translation into the accessor functions, as this seemed to be better than spread around in 3 places, especially as the other places in the code forgot to test for NULL and '\0' (empty string). Comments in the

Re: [Freeciv-Dev] Permission to make freeciv headers standard C/C++ compatible.

2007-06-03 Thread Vasco Alexandre da Silva Costa
On 6/3/07, James Supancic [EMAIL PROTECTED] 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,