I haven't tried building lldb for a while, but I did just now and got
some ambiguous-template errors out of a bunch of the SB sources.
This is using ninja and MSVC 2017 on Windows 10. Example pasted below;
there are a bunch of follow-on errors but they look like consequences
of the first one.  I have r360404 checked out at the moment.

Not blocking me but I thought I should report it.
Thanks,
--paulr

C:\PROGRA~2\MIB055~1\2017\PROFES~1\VC\Tools\MSVC\1410~1.250\bin\HostX64\x64\cl.exe
  /nologo /TP -DEXPORT_LIBLLDB -DGTEST_HAS_RTTI=0 -DLLDB_CONFIGURATION_RELEASE 
-DLLDB_DISABLE_CURSES -DLLDB_DISABLE_LIBEDIT -DLLDB_DISABLE_PYTHON 
-DLLDB_PYTHON_HOME=\"\" -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE 
-D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS 
-D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_HAS_EXCEPTIONS=0 
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-Itools\lldb\source\API -IC:\Dev\upstream\gitmono\llvm-project\lldb\source\API 
-Itools\lldb\include -IC:\Dev\upstream\gitmono\llvm-project\lldb\include 
-Iinclude -IC:\Dev\upstream\gitmono\llvm-project\llvm\include 
-IC:\Dev\upstream\gitmono\llvm-project\llvm\..\clang\include 
-Itools\lldb\..\clang\include 
-IC:\Dev\upstream\gitmono\llvm-project\lldb\source\. /DWIN32 /D_WINDOWS   
/Zc:inline /Zc:strictStrings /Oi /Zc:rvalueCast /W4 -wd4141 -wd4146 -wd4180 
-wd4244 -wd4258 -wd4267 -wd4291 -wd4345 -wd4351 -wd4355 -wd4456 -wd4457 -wd4458 
-wd4459 -wd4503 -wd4624 -wd4722 -wd4800 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 
-wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 
-wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd4324 -w14062 -we4238 /MD /Zi 
/O2 /Ob1   -UNDEBUG -wd4018 -wd4068 -wd4150 -wd4201 -wd4251 -wd4521 -wd4530  
/EHs-c- /GR- /showIncludes 
/Fotools\lldb\source\API\CMakeFiles\liblldb.dir\SBError.cpp.obj 
/Fdtools\lldb\source\API\CMakeFiles\liblldb.dir\ /FS -c 
C:\Dev\upstream\gitmono\llvm-project\lldb\source\API\SBError.cpp
C:\Dev\upstream\gitmono\llvm-project\lldb\source\API\SBError.cpp(48): error 
C2752: 'lldb_private::repro::invoke<void (__cdecl lldb::SBError::* )(void)>': 
more than one partial specialization matches the template argument list
C:\Dev\upstream\gitmono\llvm-project\lldb\source\API\SBError.cpp(48): note: 
could be 'lldb_private::repro::invoke<Result(__cdecl Class::* )(Args...)>'
C:\Dev\upstream\gitmono\llvm-project\lldb\source\API\SBError.cpp(48): note: or  
     'lldb_private::repro::invoke<void(__cdecl Class::* )(Args...)>'

_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to