[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] MinGW gcc 3.2
From: |
Holger |
Subject: |
Re: [Bug-gnubg] MinGW gcc 3.2 |
Date: |
Mon, 06 Jan 2003 19:00:12 +0100 |
On Sun, 05 Jan 2003 18:48:48 +0100, Holger <address@hidden> wrote:
>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;
Solved. It was a simple name clash with a define from config.h. Great
error message by gcc, though.
Regards,
Holger