Hmmm, this suggests that PACKAGE_VERSION isn't a string (But a number). Can you post the line from config.h for PACKAGE_VERSION please? Either the config.h hat is generated under ming is different or the compiler (mingw gcc) is interpreting PACKAGE_VERSION differently than my linux GCC version. I am assuming the former (not the latter)
If you use a hand crafted config.h for all builds, and your PACKAGE_VERSION doesn't have quotes (Example) #define PACKAGE_VERSION 0.90 Instead of #define PACKAGE_VERSION "0.90" Can you try adding quotes and doing the build again. This is the only thing that I can think of. On 29/12/09 10:18 AM, "Massimiliano Maini" <[email protected]> wrote: > I get an error compiling: > > gnubg.c: In function 'getDiceRandomDotOrg': > gnubg.c:4473: error: expected ',' or ';' before 'PACKAGE_VERSION' > mingw32-make: *** [obj/gnubg.o] Error 1 > > MaX. > > 2009/12/29 Michael Petch <[email protected]>: >> >> Should be fixed now (buffer overrun). I have also added a user agent string >> per the request of random.org, and done some cleanup. >> >> On 29/12/09 7:08 AM, "Massimiliano Maini" <[email protected]> wrote: >> >>> Hi a new win distrib is avauialble on gnubg.org (20091229). >>> >>> It includes recent fixes, including the one for random.org. >>> >>> I have however a problem with that: as soon as I select random.org, >>> everything >>> works fine but I can no longer quit gnubg (alt-f4, ctrl-q or the red >>> cross button >>> on the window). >>> >>> Strange ... >>> >>> MaX. >>> >>> >>> _______________________________________________ >>> Bug-gnubg mailing list >>> [email protected] >>> http://lists.gnu.org/mailman/listinfo/bug-gnubg >>> >> >> >> > _______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
