[Qgis-developer] Compiling error since last svn update

Florian Hillen fhillen at uni-osnabrueck.de
Sat Jun 6 19:10:42 EDT 2009


Hi list,

since the last svn update I always get the follwing error while compiling.
Can anyone help me with that? Didn't changed anything on my environment.

Thanks in advance.

Best regards,
Florian





[  8%] Building CXX object
src/core/CMakeFiles/qgis_core.dir/qgsapplication.obj
In file included from
c:/msys/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h:50,
                 from
c:/msys/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winsock.h:19,
                 from C:\dev\cpp\qgis\src\core\qgsapplication.cpp:29:
c:/msys/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1681:
error: declaration of C function `LONG InterlockedCompareExchange(volatile
LONG*, LONG, LONG)' conflicts with
C:/Qt/4.4.3/include/QtCore/../../src/corelib/arch/qatomic_windows.h:387:
error: previous declaration `long int InterlockedCompareExchange(long
int*, long int, l
ong int)' here
c:/msys/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1685:
e
rror: declaration of C function `LONG InterlockedDecrement(volatile
LONG*)' conf
licts with
C:/Qt/4.4.3/include/QtCore/../../src/corelib/arch/qatomic_windows.h:389:
error:
previous declaration `long int InterlockedDecrement(long int*)' here
c:/msys/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1686:
e
rror: declaration of C function `LONG InterlockedExchange(volatile LONG*,
LONG)'
 conflicts with
C:/Qt/4.4.3/include/QtCore/../../src/corelib/arch/qatomic_windows.h:390:
error:
previous declaration `long int InterlockedExchange(long int*, long int)' here
c:/msys/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1690:
e
rror: declaration of C function `LONG InterlockedExchangeAdd(volatile
LONG*, LON
G)' conflicts with
C:/Qt/4.4.3/include/QtCore/../../src/corelib/arch/qatomic_windows.h:391:
error:
previous declaration `long int InterlockedExchangeAdd(long int*, long
int)' here

c:/msys/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/winbase.h:1694:
e
rror: declaration of C function `LONG InterlockedIncrement(volatile
LONG*)' conf
licts with
C:/Qt/4.4.3/include/QtCore/../../src/corelib/arch/qatomic_windows.h:388:
error:
previous declaration `long int InterlockedIncrement(long int*)' here
mingw32-make[2]: ***
[src/core/CMakeFiles/qgis_core.dir/qgsapplication.obj] Erro
r 1
mingw32-make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
mingw32-make: *** [all] Error 2


More information about the Qgis-developer mailing list