C:\clucene-2.3.2_mingw\src\shared\CLucene\SharedHeader.cpp: In function 'wchar_t* lucene_wcsdup(const wchar_t*)': C:\clucene-2.3.2_mingw\src\shared\CLucene\SharedHeader.cpp:33: warning: visibility attribute not supported in this configuration; ignored C:\clucene-2.3.2_mingw\src\shared\CLucene\config\gunichartables.cpp:132:3: warning: #warning "===== Note: using internal character function for compatibility =====" C:\clucene-2.3.2_mingw\src\shared\CLucene\config\gunichartables.cpp: In function 'TCHAR cl_tcasefold(TCHAR)': C:\clucene-2.3.2_mingw\src\shared\CLucene\config\gunichartables.cpp:351: warning: visibility attribute not supported in this configuration; ignored C:\clucene-2.3.2_mingw\src\shared\CLucene\config\repl_tcstoll.cpp: In function 'int64_t lucene_tcstoi64(const TCHAR*, TCHAR**, int)': C:\clucene-2.3.2_mingw\src\shared\CLucene\config\repl_tcstoll.cpp:46: warning: visibility attribute not supported in this configuration; ignored C:\clucene-2.3.2_mingw\src\shared\CLucene\config\repl_tprintf.cpp: In function 'void lucene_vfnwprintf(lucene::util::StringBuffer*, size_t, const wchar_t*, char*&)': C:\clucene-2.3.2_mingw\src\shared\CLucene\config\repl_tprintf.cpp:117: warning: visibility attribute not supported in this configuration; ignored C:\clucene-2.3.2_mingw\src\shared\CLucene\config\repl_tprintf.cpp: In function 'int lucene_vsnwprintf(wchar_t*, size_t, const wchar_t*, char*&)': C:\clucene-2.3.2_mingw\src\shared\CLucene\config\repl_tprintf.cpp:148: warning: visibility attribute not supported in this configuration; ignored C:\clucene-2.3.2_mingw\src\shared\CLucene\config\repl_lltot.cpp: In function 'TCHAR* lucene_i64tot(int64_t, TCHAR*, int)': C:\clucene-2.3.2_mingw\src\shared\CLucene\config\repl_lltot.cpp:47: warning: visibility attribute not supported in this configuration; ignored C:\clucene-2.3.2_mingw\src\shared\CLucene\config\repl_tcstod.cpp: In function 'double lucene_tcstod(const TCHAR*, TCHAR**)': C:\clucene-2.3.2_mingw\src\shared\CLucene\config\repl_tcstod.cpp:23: warning: visibility attribute not supported in this configuration; ignored In file included from C:\clucene-2.3.2_mingw\src\shared\CLucene\config\threads.cpp:9: C:\clucene-2.3.2_mingw\src\shared\CLucene\config\/_threads.h:21: error: using typedef-name 'CRITICAL_SECTION' after 'struct' c:\qt\4.6.2-mingw\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winbase.h:801: error: 'CRITICAL_SECTION' has a previous declaration here C:\clucene-2.3.2_mingw\src\shared\CLucene\config\/_threads.h:46: error: redefinition of 'struct _SECURITY_ATTRIBUTES' c:\qt\4.6.2-mingw\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winnt.h:2435: error: previous definition of 'struct _SECURITY_ATTRIBUTES' C:\clucene-2.3.2_mingw\src\shared\CLucene\config\/_threads.h:51: error: invalid type in declaration before ';' token C:\clucene-2.3.2_mingw\src\shared\CLucene\config\/_threads.h:51: error: conflicting declaration 'typedef int SECURITY_ATTRIBUTES' c:\qt\4.6.2-mingw\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winnt.h:2439: error: 'SECURITY_ATTRIBUTES' has a previous declaration as 'typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES' C:\clucene-2.3.2_mingw\src\shared\CLucene\config\/_threads.h:54: error: declaration of C function 'void* CreateEventA(SECURITY_ATTRIBUTES*, bool, bool, char*)' conflicts with c:\qt\4.6.2-mingw\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winbase.h:1215: error: previous declaration 'void* CreateEventA(_SECURITY_ATTRIBUTES*, BOOL, BOOL, const CHAR*)' here C:\clucene-2.3.2_mingw\src\shared\CLucene\config\/_threads.h:55: error: declaration of C function 'bool SetEvent(void*)' conflicts with c:\qt\4.6.2-mingw\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winbase.h:1911: error: previous declaration 'BOOL SetEvent(void*)' here C:\clucene-2.3.2_mingw\src\shared\CLucene\config\/_threads.h:56: error: declaration of C function 'bool CloseHandle(void*)' conflicts with c:\qt\4.6.2-mingw\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/winbase.h:1184: error: previous declaration 'BOOL CloseHandle(void*)' here C:\clucene-2.3.2_mingw\src\shared\CLucene\config\threads.cpp: In static member function 'static pthread_t lucene::util::mutex_thread::_GetCurrentThreadId()': C:\clucene-2.3.2_mingw\src\shared\CLucene\config\threads.cpp:59: error: conversion from 'long unsigned int' to non-scalar type 'pthread_t' requested C:\clucene-2.3.2_mingw\src\shared\CLucene\config\threads.cpp: At global scope: C:\clucene-2.3.2_mingw\src\shared\CLucene\config\threads.cpp:61: error: no 'void lucene::util::mutex_thread::_exitThread(int)' member function declared in class 'lucene::util::mutex_thread' C:\clucene-2.3.2_mingw\src\shared\CLucene\config\threads.cpp:65: error: no 'int32_t lucene::util::mutex_thread::atomic_increment(lucene::util::__LUCENE_ATOMIC_INT*)' member function declared in class 'lucene::util::mutex_thread' C:\clucene-2.3.2_mingw\src\shared\CLucene\config\threads.cpp:72: error: no 'int32_t lucene::util::mutex_thread::atomic_decrement(lucene::util::__LUCENE_ATOMIC_INT*)' member function declared in class 'lucene::util::mutex_thread' C:\clucene-2.3.2_mingw\src\shared\CLucene\config\threads.cpp: In static member function 'static pthread_t lucene::util::mutex_thread::CreateThread(void* (*)(void*), void*)': C:\clucene-2.3.2_mingw\src\shared\CLucene\config\threads.cpp:110: error: invalid conversion from 'void* (*)(void*)' to 'void (*)(void*)' C:\clucene-2.3.2_mingw\src\shared\CLucene\config\threads.cpp:110: error: initializing argument 1 of 'void* _beginthread(void (*)(void*), unsigned int, void*)' C:\clucene-2.3.2_mingw\src\shared\CLucene\config\threads.cpp:110: error: no matching function for call to 'ptw32_handle_t::ptw32_handle_t(void*)' c:/pthread/include/pthread.h:569: note: candidates are: ptw32_handle_t::ptw32_handle_t() c:/pthread/include/pthread.h:569: note: ptw32_handle_t::ptw32_handle_t(const ptw32_handle_t&) C:\clucene-2.3.2_mingw\src\shared\CLucene\config\threads.cpp: In static member function 'static void lucene::util::mutex_thread::JoinThread(pthread_t)': C:\clucene-2.3.2_mingw\src\shared\CLucene\config\threads.cpp:113: error: invalid cast from type 'pthread_t' to type 'void*' mingw32-make[2]: *** [src/shared/CMakeFiles/clucene-shared.dir/CLucene/config/threads.obj] Error 1 mingw32-make[1]: *** [src/shared/CMakeFiles/clucene-shared.dir/all] Error 2 mingw32-make: *** [all] Error 2 ENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles\clucene-shared.dir\CLucene\config\repl_tcstod.obj -c C:\clucene-2.3.2_mingw\src\shared\CLucene\config\repl_tcstod.cpp "C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_progress_report C:\clucene-2.3.2_mingw\CMakeFiles 95 [ 4%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/config/utf8.obj cd C:\clucene-2.3.2_mingw\src\shared && C:\Qt\4.6.2-mingw\mingw\bin\g++.exe -Dclucene_shared_EXPORTS -DMAKE_CLUCENE_SHARED_LIB -DUNICODE -Ic:/pthread/include -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -IC:\clucene-2.3.2_mingw\src\shared -IC:\clucene-2.3.2_mingw\src\core -IC:\gtk+\include -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles\clucene-shared.dir\CLucene\config\utf8.obj -c C:\clucene-2.3.2_mingw\src\shared\CLucene\config\utf8.cpp "C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_progress_report C:\clucene-2.3.2_mingw\CMakeFiles [ 4%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/config/threads.obj cd C:\clucene-2.3.2_mingw\src\shared && C:\Qt\4.6.2-mingw\mingw\bin\g++.exe -Dclucene_shared_EXPORTS -DMAKE_CLUCENE_SHARED_LIB -DUNICODE -Ic:/pthread/include -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -IC:\clucene-2.3.2_mingw\src\shared -IC:\clucene-2.3.2_mingw\src\core -IC:\gtk+\include -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles\clucene-shared.dir\CLucene\config\threads.obj -c C:\clucene-2.3.2_mingw\src\shared\CLucene\config\threads.cpp mingw32-make[2]: Leaving directory `C:/clucene-2.3.2_mingw' mingw32-make[1]: Leaving directory `C:/clucene-2.3.2_mingw'