[kde-windows] [Bug 326398] Compilation of rasqal fails with error: redefinition of struct 'timezone'
dasaan.san at gmail.com
dasaan.san at gmail.com
Tue Oct 22 15:11:21 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=326398
--- Comment #1 from dasaan.san at gmail.com ---
After some more investigation I spotted that the timezone struct is being
redefined in win32_rasqal_config.h (line 58).
After wraping the declaration up with with:
#ifndef _TIMEZONE_DEFINED
#define _TIMEZONE_DEFINED
...
#endif
the compile process gets further but then fails with:
[ 4%] Building C object CMakeFiles/rasqal.dir/src/rasqal_digest.c.obj
In file included from
c:\kdeRoot\build\win32libs\rasqal-0.9.26-20110726\work\rasqal-0.9.30\src\rasqal_decimal.c:41:
c:\kderoot\mingw\bin\../lib/gcc/i686-w64-mingw32/4.4.7/../../../../i686-w64-mingw32/include/math.h:719:
error: expected ';', ',' or ')' before '+' token
jom:
C:\kdeRoot\build\win32libs\rasqal-0.9.26-20110726\work\mingw4-RelWithDebInfo-0.9.30\CMakeFiles\rasqal.dir\build.make
[CMakeFiles\rasqal.dir\src\rasqal_decimal.c.obj] Error 1
jom:
C:\kdeRoot\build\win32libs\rasqal-0.9.26-20110726\work\mingw4-RelWithDebInfo-0.9.30\CMakeFiles\Makefile2
[CMakeFiles\rasqal.dir\all] Error 2
jom:
C:\kdeRoot\build\win32libs\rasqal-0.9.26-20110726\work\mingw4-RelWithDebInfo-0.9.30\Makefile
[all] Error 2
I'll keep looking at this to see if I can spot what's going on here before I
submit a patch
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kde-windows
mailing list