gtk+ with latest mingw and gcc 4.8


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'

The root cause is that in gdk/win32/gdkdnd-win32.c #define INITGUID  is defined.
which leads in
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]