gtk+ with latest mingw and gcc 4.8



Hi,

compiling gtk+-3.6.4 with latest mingw and gcc 4.8 leads to lots of errors like this one:


/usr/local/mingw64-2.8/32/lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64-mingw32/lib/../lib/libuuid.a(lib32_libuuid_a-uuid.o):uuid.c:(.rdata+0x5f0): multiple definition of `FOLDERID_CommonPrograms'
win32/.libs/libgdk-win32.a(gdkdnd-win32.o):gdkdnd-win32.c:

The root cause is that in gdk/win32/gdkdnd-win32.c #define INITGUID  is defined.
which leads in
i686-w64-mingw32/include/knownfolders.h
that these known Folders are deifined again. But the are alread defined in libuuid.

From my point of view the error is in gtk+ you should not define INITGUID.

how can this be fixed properly?

I just deleted the define for me.

This define is still defined in HEAD revision, too.

Kind Regards,
 Thorsten Wilmer 


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