E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:18:8:
error: reference to 'PSRWLOCK' is ambiguous
static PSRWLOCK GetLock(lldb::rwlock_t lock)
^~~~~~~~
In file included from
C:/Msys64/mingw32/i686-w64-mingw32/include/winbase.h:35:0,
from
C:/Msys64/mingw32/i686-w64-mingw32/include/windows.h:70,
from
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/include/lldb/Host/windows/windows.h:18,
from
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:2:
C:/Msys64/mingw32/i686-w64-mingw32/include/synchapi.h:34:33: note:
candidates are: typedef RTL_SRWLOCK* PSRWLOCK
typedef RTL_SRWLOCK SRWLOCK, *PSRWLOCK;
^~~~~~~~
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:13:31:
note: typedef {anonymous}::RTL_SRWLOCK*
{anonymous}::PSRWLOCK
typedef RTL_SRWLOCK SRWLOCK, *PSRWLOCK;
^~~~~~~~
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:
In function 'bool ReadLock(lldb::rwlock_t)':
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:25:42:
error: 'GetLock' was not declared in this scope
::AcquireSRWLockShared(GetLock(rwlock));
^
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:
In function 'bool ReadUnlock(lldb::rwlock_t)':
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:31:42:
error: 'GetLock' was not declared in this scope
::ReleaseSRWLockShared(GetLock(rwlock));
^
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:
In function 'bool WriteLock(lldb::rwlock_t)':
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:37:45:
error: 'GetLock' was not declared in this scope
::AcquireSRWLockExclusive(GetLock(rwlock));
^
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:
In function 'bool WriteTryLock(lldb::rwlock_t)':
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:43:57:
error: 'GetLock' was not declared in this scope
return !!::TryAcquireSRWLockExclusive(GetLock(rwlock));
^
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:
In function 'bool WriteUnlock(lldb::rwlock_t)':
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:48:45:
error: 'GetLock' was not declared in this scope
::ReleaseSRWLockExclusive(GetLock(rwlock));
^
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:
In constructor 'lldb_private::ProcessRunLock::ProcessRunLock()':
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:57:20:
error: reference to 'SRWLOCK' is ambiguous
m_rwlock = new SRWLOCK;
^~~~~~~
In file included from
C:/Msys64/mingw32/i686-w64-mingw32/include/winbase.h:35:0,
from
C:/Msys64/mingw32/i686-w64-mingw32/include/windows.h:70,
from
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/include/lldb/Host/windows/windows.h:18,
from
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:2:
C:/Msys64/mingw32/i686-w64-mingw32/include/synchapi.h:34:23: note:
candidates are: typedef RTL_SRWLOCK SRWLOCK
typedef RTL_SRWLOCK SRWLOCK, *PSRWLOCK;
^~~~~~~
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:13:21:
note: typedef {anonymous}::RTL_SRWLOCK {anonymous}::SRWLOCK
typedef RTL_SRWLOCK SRWLOCK, *PSRWLOCK;
^~~~~~~
E:/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/ProcessRunLock.cpp:58:39:
error: 'GetLock' was not declared in this scope
InitializeSRWLock(GetLock(m_rwlock));
^
this is the remaining error building lldb,
GetLock is indeed there but it seems the compiler thinks its not
initialized and bails out.
Also libcxx needs some work to build.
Post by Ray DonnellyWill you make a Pull Request for this work Ralph?
Post by ralph engelsYup that fixed it, thanks :).
Btw i started ironing out the bugs keeping clang-3.9.0 from building, so far
i succeded in getting lldb building
(the cause was mostly due to the compat guards being for msvc only, and one
missing header in file.cpp),
libstdcxx and libstdcxxabi are still a nogo though.
Post by ralph engelsAfter upgrading to gcc-6.2.0 i can no longer build boost it seems, im
still looking at the log because its rather large, but it does not seem
to contain any usefull messages. Anyone else ran into this problem ? i
guess its related to gcc now defaulting to -std=c++14.
I'm update boost to 1.62.0
Regards,
Alexey.
Post by ralph engels------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
https://lists.sourceforge.net/lists/listinfo/msys2-users
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
https://lists.sourceforge.net/lists/listinfo/msys2-users