bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] MinGW gcc 3.2


From: Holger
Subject: [Bug-gnubg] MinGW gcc 3.2
Date: Sun, 05 Jan 2003 18:48:48 +0100

Hi,

Trying to compile with gcc 3.2 under Win95 gives the following problem here:

gcc -mms-bitfields -O3 -Wall -DHAVE_CONFIG_H
-DLOCALEDIR=\"/MinGW2/lib/locale\" -I. -I./lib -I/MinGW2/lib/gtk+/include
-I/MinGW2/lib/glib-2.0/include -I/MinGW2/include/glib-2.0
-I/MinGW2/include/libxml2 -I/MinGW2/include/freetype2   -c -o gnubg.o gnubg.c
In file included from J:/MINGW2/include/objbase.h:56,
                 from J:/MINGW2/include/ole2.h:9,
                 from J:/MINGW2/include/windows.h:109,
                 from gnubg.c:120:
J:/MINGW2/include/objidl.h:58: parse error before string constant
gnubg.c: In function `Convert':
gnubg.c:7214: warning: passing arg 2 of `libiconv' from incompatible
pointer type
make: *** [gnubg.o] Error 1

objidl.h:
55: typedef enum tagDATADIR     {
56:     DATADIR_GET=1,
57:     DATADIR_SET
58: } DATADIR;

Looks legal. With gcc 2.95 this doesn't happen since ole2 is only included
for gcc versions >= 3.

I can avoid including ole2 when defining WIN32_LEAN_AND_MEAN, but then only
without sound. Then it builds, but the executable crashes. So it doesn't
seem the right way.

Øystein and Nardy, could you please send me your config for gcc 3.2? I
think you have already succeeded in compiling with 3.2?

Thanks and regards,

        Holger




reply via email to

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