Last active
May 22, 2021 16:35
-
-
Save whb07/c4de47d8d7bf10930057155974460c89 to your computer and use it in GitHub Desktop.
IWYU failed builds Windows 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\william\Downloads\include-what-you-use\build> cmake .. -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_PREFIX_PATH="C:/Program Files/LLVM/lib" | |
-- IWYU: out-of-tree configuration | |
-- The C compiler identification is Clang 12.0.0 with GNU-like command-line | |
-- The CXX compiler identification is Clang 12.0.0 with GNU-like command-line | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working C compiler: C:/Program Files/LLVM/bin/clang.exe - skipped | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Check for working CXX compiler: C:/Program Files/LLVM/bin/clang++.exe - skipped | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME | |
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success | |
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME | |
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success | |
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW | |
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success | |
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW | |
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success | |
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG | |
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success | |
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG | |
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG | |
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success | |
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG | |
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG | |
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG | |
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed | |
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG | |
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success | |
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG | |
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG | |
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG | |
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success | |
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL | |
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success | |
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP | |
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success | |
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG | |
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG | |
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Success | |
-- Looking for os_signpost_interval_begin | |
-- Looking for os_signpost_interval_begin - not found | |
-- IWYU: configuring for LLVM 12.0.0... | |
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.31.1.windows.1") | |
-- Found PythonInterp: C:/Users/william/AppData/Local/Programs/Python/Python39/python.exe (found version "3.9.4") | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: C:/Users/william/Downloads/include-what-you-use/build | |
PS C:\Users\william\Downloads\include-what-you-use\build> cmake --build . -j 32 | |
[181/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.obj | |
FAILED: CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.obj | |
C:\PROGRA~1\LLVM\bin\CLANG_~1.EXE -DGTEST_HAS_RTTI=0 -DIWYU_GIT_REV=\"2dfe3bf\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"C:/Program Files/LLVM/include" -Werror=date-time -Werror=unguarded-availability-new -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-exceptions -fno-rtti -std=c++14 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.obj -MF CMakeFiles\include-what-you-use.dir\iwyu_path_util.cc.obj.d -o CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.obj -c ../iwyu_path_util.cc | |
In file included from ../iwyu_path_util.cc:10: | |
In file included from ../iwyu_path_util.h:18: | |
In file included from ../iwyu_string_util.h:21: | |
In file included from ../iwyu_port.h:16: | |
In file included from C:/Program Files/LLVM/include\llvm/Support/raw_ostream.h:17: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/StringRef.h:12: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/STLExtras.h:29: | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:943:16: error: use of typeid requires -frtti | |
return typeid(_Callable); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1033:58: note: in instantiation of function template specialization 'std::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), int, const llvm::Error &>::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
_Set(::new (static_cast<void*>(&_Mystorage)) _Impl(_STD forward<_Fx>(_Val))); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1161:15: note: in instantiation of function template specialization 'std::_Func_class<int, const llvm::Error &>::_Reset<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21)>' requested here | |
this->_Reset(_STD move(_Func)); | |
^ | |
C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:9: note: in instantiation of function template specialization 'std::function<int (const llvm::Error &)>::function<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
GetExitCode([=](const Error &) { return DefaultErrorExitCode; }) {} | |
^ | |
1 error generated. | |
[183/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.obj | |
FAILED: CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.obj | |
C:\PROGRA~1\LLVM\bin\CLANG_~1.EXE -DGTEST_HAS_RTTI=0 -DIWYU_GIT_REV=\"2dfe3bf\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"C:/Program Files/LLVM/include" -Werror=date-time -Werror=unguarded-availability-new -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-exceptions -fno-rtti -std=c++14 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.obj -MF CMakeFiles\include-what-you-use.dir\iwyu_verrs.cc.obj.d -o CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.obj -c ../iwyu_verrs.cc | |
In file included from ../iwyu_verrs.cc:10: | |
In file included from ../iwyu_verrs.h:15: | |
In file included from C:/Program Files/LLVM/include\llvm/Support/raw_ostream.h:17: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/StringRef.h:12: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/STLExtras.h:29: | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:943:16: error: use of typeid requires -frtti | |
return typeid(_Callable); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1033:58: note: in instantiation of function template specialization 'std::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), int, const llvm::Error &>::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
_Set(::new (static_cast<void*>(&_Mystorage)) _Impl(_STD forward<_Fx>(_Val))); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1161:15: note: in instantiation of function template specialization 'std::_Func_class<int, const llvm::Error &>::_Reset<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21)>' requested here | |
this->_Reset(_STD move(_Func)); | |
^ | |
C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:9: note: in instantiation of function template specialization 'std::function<int (const llvm::Error &)>::function<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
GetExitCode([=](const Error &) { return DefaultErrorExitCode; }) {} | |
^ | |
1 error generated. | |
[184/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.obj | |
FAILED: CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.obj | |
C:\PROGRA~1\LLVM\bin\CLANG_~1.EXE -DGTEST_HAS_RTTI=0 -DIWYU_GIT_REV=\"2dfe3bf\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"C:/Program Files/LLVM/include" -Werror=date-time -Werror=unguarded-availability-new -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-exceptions -fno-rtti -std=c++14 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.obj -MF CMakeFiles\include-what-you-use.dir\iwyu_include_picker.cc.obj.d -o CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.obj -c ../iwyu_include_picker.cc | |
In file included from ../iwyu_include_picker.cc:24: | |
In file included from ../iwyu_location_util.h:46: | |
In file included from ../iwyu_path_util.h:18: | |
In file included from ../iwyu_string_util.h:21: | |
In file included from ../iwyu_port.h:16: | |
In file included from C:/Program Files/LLVM/include\llvm/Support/raw_ostream.h:17: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/StringRef.h:12: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/STLExtras.h:29: | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:943:16: error: use of typeid requires -frtti | |
return typeid(_Callable); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1033:58: note: in instantiation of function template specialization 'std::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), int, const llvm::Error &>::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
_Set(::new (static_cast<void*>(&_Mystorage)) _Impl(_STD forward<_Fx>(_Val))); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1161:15: note: in instantiation of function template specialization 'std::_Func_class<int, const llvm::Error &>::_Reset<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21)>' requested here | |
this->_Reset(_STD move(_Func)); | |
^ | |
C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:9: note: in instantiation of function template specialization 'std::function<int (const llvm::Error &)>::function<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
GetExitCode([=](const Error &) { return DefaultErrorExitCode; }) {} | |
^ | |
1 error generated. | |
[185/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.obj | |
FAILED: CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.obj | |
C:\PROGRA~1\LLVM\bin\CLANG_~1.EXE -DGTEST_HAS_RTTI=0 -DIWYU_GIT_REV=\"2dfe3bf\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"C:/Program Files/LLVM/include" -Werror=date-time -Werror=unguarded-availability-new -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-exceptions -fno-rtti -std=c++14 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.obj -MF CMakeFiles\include-what-you-use.dir\iwyu_globals.cc.obj.d -o CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.obj -c ../iwyu_globals.cc | |
../iwyu_globals.cc:160:15: warning: 'getenv' is deprecated: This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations] | |
verbose(getenv("IWYU_VERBOSE") ? atoi(getenv("IWYU_VERBOSE")) : 1), | |
^ | |
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\stdlib.h:1183:20: note: 'getenv' has been explicitly marked deprecated here | |
_Check_return_ _CRT_INSECURE_DEPRECATE(_dupenv_s) | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\vcruntime.h:320:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE' | |
#define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT( \ | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\vcruntime.h:310:47: note: expanded from macro '_CRT_DEPRECATE_TEXT' | |
#define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text)) | |
^ | |
../iwyu_globals.cc:160:45: warning: 'getenv' is deprecated: This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations] | |
verbose(getenv("IWYU_VERBOSE") ? atoi(getenv("IWYU_VERBOSE")) : 1), | |
^ | |
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\stdlib.h:1183:20: note: 'getenv' has been explicitly marked deprecated here | |
_Check_return_ _CRT_INSECURE_DEPRECATE(_dupenv_s) | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\vcruntime.h:320:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE' | |
#define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT( \ | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\vcruntime.h:310:47: note: expanded from macro '_CRT_DEPRECATE_TEXT' | |
#define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text)) | |
^ | |
In file included from ../iwyu_globals.cc:20: | |
In file included from ../iwyu_cache.h:22: | |
In file included from ../iwyu_port.h:16: | |
In file included from C:/Program Files/LLVM/include\llvm/Support/raw_ostream.h:17: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/StringRef.h:12: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/STLExtras.h:29: | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:943:16: error: use of typeid requires -frtti | |
return typeid(_Callable); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1033:58: note: in instantiation of function template specialization 'std::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), int, const llvm::Error &>::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
_Set(::new (static_cast<void*>(&_Mystorage)) _Impl(_STD forward<_Fx>(_Val))); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1161:15: note: in instantiation of function template specialization 'std::_Func_class<int, const llvm::Error &>::_Reset<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21)>' requested here | |
this->_Reset(_STD move(_Func)); | |
^ | |
C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:9: note: in instantiation of function template specialization 'std::function<int (const llvm::Error &)>::function<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
GetExitCode([=](const Error &) { return DefaultErrorExitCode; }) {} | |
^ | |
2 warnings and 1 error generated. | |
[187/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.obj | |
FAILED: CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.obj | |
C:\PROGRA~1\LLVM\bin\CLANG_~1.EXE -DGTEST_HAS_RTTI=0 -DIWYU_GIT_REV=\"2dfe3bf\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"C:/Program Files/LLVM/include" -Werror=date-time -Werror=unguarded-availability-new -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-exceptions -fno-rtti -std=c++14 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.obj -MF CMakeFiles\include-what-you-use.dir\iwyu_location_util.cc.obj.d -o CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.obj -c ../iwyu_location_util.cc | |
In file included from ../iwyu_location_util.cc:10: | |
In file included from ../iwyu_location_util.h:46: | |
In file included from ../iwyu_path_util.h:18: | |
In file included from ../iwyu_string_util.h:21: | |
In file included from ../iwyu_port.h:16: | |
In file included from C:/Program Files/LLVM/include\llvm/Support/raw_ostream.h:17: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/StringRef.h:12: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/STLExtras.h:29: | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:943:16: error: use of typeid requires -frtti | |
return typeid(_Callable); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1033:58: note: in instantiation of function template specialization 'std::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), int, const llvm::Error &>::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
_Set(::new (static_cast<void*>(&_Mystorage)) _Impl(_STD forward<_Fx>(_Val))); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1161:15: note: in instantiation of function template specialization 'std::_Func_class<int, const llvm::Error &>::_Reset<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21)>' requested here | |
this->_Reset(_STD move(_Func)); | |
^ | |
C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:9: note: in instantiation of function template specialization 'std::function<int (const llvm::Error &)>::function<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
GetExitCode([=](const Error &) { return DefaultErrorExitCode; }) {} | |
^ | |
1 error generated. | |
[188/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.obj | |
FAILED: CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.obj | |
C:\PROGRA~1\LLVM\bin\CLANG_~1.EXE -DGTEST_HAS_RTTI=0 -DIWYU_GIT_REV=\"2dfe3bf\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"C:/Program Files/LLVM/include" -Werror=date-time -Werror=unguarded-availability-new -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-exceptions -fno-rtti -std=c++14 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.obj -MF CMakeFiles\include-what-you-use.dir\iwyu_preprocessor.cc.obj.d -o CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.obj -c ../iwyu_preprocessor.cc | |
In file included from ../iwyu_preprocessor.cc:10: | |
In file included from ../iwyu_preprocessor.h:68: | |
In file included from ../iwyu_output.h:24: | |
In file included from ../iwyu_port.h:16: | |
In file included from C:/Program Files/LLVM/include\llvm/Support/raw_ostream.h:17: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/StringRef.h:12: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/STLExtras.h:29: | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:943:16: error: use of typeid requires -frtti | |
return typeid(_Callable); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1033:58: note: in instantiation of function template specialization 'std::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), int, const llvm::Error &>::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
_Set(::new (static_cast<void*>(&_Mystorage)) _Impl(_STD forward<_Fx>(_Val))); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1161:15: note: in instantiation of function template specialization 'std::_Func_class<int, const llvm::Error &>::_Reset<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21)>' requested here | |
this->_Reset(_STD move(_Func)); | |
^ | |
C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:9: note: in instantiation of function template specialization 'std::function<int (const llvm::Error &)>::function<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
GetExitCode([=](const Error &) { return DefaultErrorExitCode; }) {} | |
^ | |
1 error generated. | |
[189/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_output.cc.obj | |
FAILED: CMakeFiles/include-what-you-use.dir/iwyu_output.cc.obj | |
C:\PROGRA~1\LLVM\bin\CLANG_~1.EXE -DGTEST_HAS_RTTI=0 -DIWYU_GIT_REV=\"2dfe3bf\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"C:/Program Files/LLVM/include" -Werror=date-time -Werror=unguarded-availability-new -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-exceptions -fno-rtti -std=c++14 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_output.cc.obj -MF CMakeFiles\include-what-you-use.dir\iwyu_output.cc.obj.d -o CMakeFiles/include-what-you-use.dir/iwyu_output.cc.obj -c ../iwyu_output.cc | |
In file included from ../iwyu_output.cc:10: | |
In file included from ../iwyu_output.h:24: | |
In file included from ../iwyu_port.h:16: | |
In file included from C:/Program Files/LLVM/include\llvm/Support/raw_ostream.h:17: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/StringRef.h:12: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/STLExtras.h:29: | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:943:16: error: use of typeid requires -frtti | |
return typeid(_Callable); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1033:58: note: in instantiation of function template specialization 'std::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), int, const llvm::Error &>::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
_Set(::new (static_cast<void*>(&_Mystorage)) _Impl(_STD forward<_Fx>(_Val))); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1161:15: note: in instantiation of function template specialization 'std::_Func_class<int, const llvm::Error &>::_Reset<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21)>' requested here | |
this->_Reset(_STD move(_Func)); | |
^ | |
C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:9: note: in instantiation of function template specialization 'std::function<int (const llvm::Error &)>::function<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
GetExitCode([=](const Error &) { return DefaultErrorExitCode; }) {} | |
^ | |
1 error generated. | |
[190/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.obj | |
FAILED: CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.obj | |
C:\PROGRA~1\LLVM\bin\CLANG_~1.EXE -DGTEST_HAS_RTTI=0 -DIWYU_GIT_REV=\"2dfe3bf\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"C:/Program Files/LLVM/include" -Werror=date-time -Werror=unguarded-availability-new -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-exceptions -fno-rtti -std=c++14 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.obj -MF CMakeFiles\include-what-you-use.dir\iwyu_driver.cc.obj.d -o CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.obj -c ../iwyu_driver.cc | |
In file included from ../iwyu_driver.cc:22: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/ArrayRef.h:15: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/STLExtras.h:29: | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:943:16: error: use of typeid requires -frtti | |
return typeid(_Callable); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1033:58: note: in instantiation of function template specialization 'std::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), int, const llvm::Error &>::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
_Set(::new (static_cast<void*>(&_Mystorage)) _Impl(_STD forward<_Fx>(_Val))); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1161:15: note: in instantiation of function template specialization 'std::_Func_class<int, const llvm::Error &>::_Reset<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21)>' requested here | |
this->_Reset(_STD move(_Func)); | |
^ | |
C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:9: note: in instantiation of function template specialization 'std::function<int (const llvm::Error &)>::function<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
GetExitCode([=](const Error &) { return DefaultErrorExitCode; }) {} | |
^ | |
1 error generated. | |
[191/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.obj | |
FAILED: CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.obj | |
C:\PROGRA~1\LLVM\bin\CLANG_~1.EXE -DGTEST_HAS_RTTI=0 -DIWYU_GIT_REV=\"2dfe3bf\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"C:/Program Files/LLVM/include" -Werror=date-time -Werror=unguarded-availability-new -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-exceptions -fno-rtti -std=c++14 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.obj -MF CMakeFiles\include-what-you-use.dir\iwyu_ast_util.cc.obj.d -o CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.obj -c ../iwyu_ast_util.cc | |
In file included from ../iwyu_ast_util.cc:12: | |
In file included from ../iwyu_ast_util.h:19: | |
In file included from ../iwyu_port.h:16: | |
In file included from C:/Program Files/LLVM/include\llvm/Support/raw_ostream.h:17: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/StringRef.h:12: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/STLExtras.h:29: | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:943:16: error: use of typeid requires -frtti | |
return typeid(_Callable); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1033:58: note: in instantiation of function template specialization 'std::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), int, const llvm::Error &>::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
_Set(::new (static_cast<void*>(&_Mystorage)) _Impl(_STD forward<_Fx>(_Val))); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1161:15: note: in instantiation of function template specialization 'std::_Func_class<int, const llvm::Error &>::_Reset<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21)>' requested here | |
this->_Reset(_STD move(_Func)); | |
^ | |
C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:9: note: in instantiation of function template specialization 'std::function<int (const llvm::Error &)>::function<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
GetExitCode([=](const Error &) { return DefaultErrorExitCode; }) {} | |
^ | |
1 error generated. | |
[192/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu.cc.obj | |
FAILED: CMakeFiles/include-what-you-use.dir/iwyu.cc.obj | |
C:\PROGRA~1\LLVM\bin\CLANG_~1.EXE -DGTEST_HAS_RTTI=0 -DIWYU_GIT_REV=\"2dfe3bf\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"C:/Program Files/LLVM/include" -Werror=date-time -Werror=unguarded-availability-new -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -g -Xclang -gcodeview -O0 -D_DEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrtd -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-exceptions -fno-rtti -std=c++14 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu.cc.obj -MF CMakeFiles\include-what-you-use.dir\iwyu.cc.obj.d -o CMakeFiles/include-what-you-use.dir/iwyu.cc.obj -c ../iwyu.cc | |
In file included from ../iwyu.cc:135: | |
In file included from C:/Program Files/LLVM/include\clang/Frontend/CompilerInstance.h:15: | |
In file included from C:/Program Files/LLVM/include\clang/Frontend/CompilerInvocation.h:22: | |
In file included from C:/Program Files/LLVM/include\clang/StaticAnalyzer/Core/AnalyzerOptions.h:17: | |
In file included from C:/Program Files/LLVM/include\clang/Analysis/PathDiagnostic.h:17: | |
In file included from C:/Program Files/LLVM/include\clang/Analysis/AnalysisDeclContext.h:22: | |
C:/Program Files/LLVM/include\clang/Analysis/CFG.h:1379:22: error: expected a qualified name after 'typename' | |
template <typename CALLBACK> | |
^ | |
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\minwindef.h:127:21: note: expanded from macro 'CALLBACK' | |
#define CALLBACK __stdcall | |
^ | |
In file included from ../iwyu.cc:135: | |
In file included from C:/Program Files/LLVM/include\clang/Frontend/CompilerInstance.h:15: | |
In file included from C:/Program Files/LLVM/include\clang/Frontend/CompilerInvocation.h:22: | |
In file included from C:/Program Files/LLVM/include\clang/StaticAnalyzer/Core/AnalyzerOptions.h:17: | |
In file included from C:/Program Files/LLVM/include\clang/Analysis/PathDiagnostic.h:17: | |
In file included from C:/Program Files/LLVM/include\clang/Analysis/AnalysisDeclContext.h:22: | |
C:/Program Files/LLVM/include\clang/Analysis/CFG.h:1379:22: error: expected ',' or '>' in template-parameter-list | |
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\minwindef.h:127:21: note: expanded from macro 'CALLBACK' | |
#define CALLBACK __stdcall | |
^ | |
In file included from ../iwyu.cc:135: | |
In file included from C:/Program Files/LLVM/include\clang/Frontend/CompilerInstance.h:15: | |
In file included from C:/Program Files/LLVM/include\clang/Frontend/CompilerInvocation.h:22: | |
In file included from C:/Program Files/LLVM/include\clang/StaticAnalyzer/Core/AnalyzerOptions.h:17: | |
In file included from C:/Program Files/LLVM/include\clang/Analysis/PathDiagnostic.h:17: | |
In file included from C:/Program Files/LLVM/include\clang/Analysis/AnalysisDeclContext.h:22: | |
C:/Program Files/LLVM/include\clang/Analysis/CFG.h:1380:34: error: C++ requires a type specifier for all declarations | |
void VisitBlockStmts(CALLBACK& O) const { | |
^ | |
C:/Program Files/LLVM/include\clang/Analysis/CFG.h:1380:24: warning: '__stdcall' only applies to function types; type here is 'int &' [-Wignored-attributes] | |
void VisitBlockStmts(CALLBACK& O) const { | |
^ | |
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\minwindef.h:127:21: note: expanded from macro 'CALLBACK' | |
#define CALLBACK __stdcall | |
^ | |
In file included from ../iwyu.cc:104: | |
In file included from ../iwyu_ast_util.h:19: | |
In file included from ../iwyu_port.h:16: | |
In file included from C:/Program Files/LLVM/include\llvm/Support/raw_ostream.h:17: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/StringRef.h:12: | |
In file included from C:/Program Files/LLVM/include\llvm/ADT/STLExtras.h:29: | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:943:16: error: use of typeid requires -frtti | |
return typeid(_Callable); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1033:58: note: in instantiation of function template specialization 'std::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), int, const llvm::Error &>::_Func_impl_no_alloc<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
_Set(::new (static_cast<void*>(&_Mystorage)) _Impl(_STD forward<_Fx>(_Val))); | |
^ | |
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29910\include\functional:1161:15: note: in instantiation of function template specialization 'std::_Func_class<int, const llvm::Error &>::_Reset<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21)>' requested here | |
this->_Reset(_STD move(_Func)); | |
^ | |
C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:9: note: in instantiation of function template specialization 'std::function<int (const llvm::Error &)>::function<(lambda at C:/Program Files/LLVM/include\llvm/Support/Error.h:1311:21), 0>' requested here | |
GetExitCode([=](const Error &) { return DefaultErrorExitCode; }) {} | |
^ | |
../iwyu.cc:2001:19: error: no member named 'CK_MatrixCast' in namespace 'clang' | |
case clang::CK_MatrixCast: | |
~~~~~~~^ | |
C:/Program Files/LLVM/include\clang/AST/StmtNodes.inc:849:15: note: in instantiation of member function 'clang::RecursiveASTVisitor<include_what_you_use::InstantiatedTemplateVisitor>::WalkUpFromCastExpr' requested here | |
ABSTRACT_STMT(EXPLICITCASTEXPR(ExplicitCastExpr, CastExpr)) | |
^ | |
C:/Program Files/LLVM/include\clang/AST/StmtNodes.inc:847:40: note: expanded from macro 'EXPLICITCASTEXPR' | |
# define EXPLICITCASTEXPR(Type, Base) CASTEXPR(Type, Base) | |
^ | |
C:/Program Files/LLVM/include\clang/AST/StmtNodes.inc:843:32: note: expanded from macro 'CASTEXPR' | |
# define CASTEXPR(Type, Base) EXPR(Type, Base) | |
^ | |
C:/Program Files/LLVM/include\clang/AST/StmtNodes.inc:591:28: note: expanded from macro 'EXPR' | |
# define EXPR(Type, Base) VALUESTMT(Type, Base) | |
^ | |
C:/Program Files/LLVM/include\clang/AST/StmtNodes.inc:581:33: note: expanded from macro 'VALUESTMT' | |
# define VALUESTMT(Type, Base) STMT(Type, Base) | |
^ | |
C:/Program Files/LLVM/include\clang/AST/RecursiveASTVisitor.h:383:12: note: expanded from macro 'STMT' | |
TRY_TO(WalkUpFrom##PARENT(S)); \ | |
^ | |
<scratch space>:23:1: note: expanded from here | |
WalkUpFromCastExpr | |
^ | |
C:/Program Files/LLVM/include\clang/AST/StmtNodes.inc:853:1: note: in instantiation of member function 'clang::RecursiveASTVisitor<include_what_you_use::InstantiatedTemplateVisitor>::WalkUpFromExplicitCastExpr' requested here | |
BUILTINBITCASTEXPR(BuiltinBitCastExpr, ExplicitCastExpr) | |
^ | |
C:/Program Files/LLVM/include\clang/AST/StmtNodes.inc:851:42: note: expanded from macro 'BUILTINBITCASTEXPR' | |
# define BUILTINBITCASTEXPR(Type, Base) EXPLICITCASTEXPR(Type, Base) | |
^ | |
C:/Program Files/LLVM/include\clang/AST/StmtNodes.inc:847:40: note: expanded from macro 'EXPLICITCASTEXPR' | |
# define EXPLICITCASTEXPR(Type, Base) CASTEXPR(Type, Base) | |
^ | |
C:/Program Files/LLVM/include\clang/AST/StmtNodes.inc:843:32: note: expanded from macro 'CASTEXPR' | |
# define CASTEXPR(Type, Base) EXPR(Type, Base) | |
^ | |
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) | |
C:/Program Files/LLVM/include\clang/AST/StmtNodes.inc:581:33: note: expanded from macro 'VALUESTMT' | |
# define VALUESTMT(Type, Base) STMT(Type, Base) | |
^ | |
C:/Program Files/LLVM/include\clang/AST/RecursiveASTVisitor.h:383:12: note: expanded from macro 'STMT' | |
TRY_TO(WalkUpFrom##PARENT(S)); \ | |
^ | |
<scratch space>:27:1: note: expanded from here | |
WalkUpFromExplicitCastExpr | |
^ | |
C:/Program Files/LLVM/include\clang/AST/StmtNodes.inc:853:1: note: in instantiation of member function 'clang::RecursiveASTVisitor<include_what_you_use::InstantiatedTemplateVisitor>::WalkUpFromBuiltinBitCastExpr' requested here | |
BUILTINBITCASTEXPR(BuiltinBitCastExpr, ExplicitCastExpr) | |
^ | |
C:/Program Files/LLVM/include\clang/AST/StmtNodes.inc:851:42: note: expanded from macro 'BUILTINBITCASTEXPR' | |
# define BUILTINBITCASTEXPR(Type, Base) EXPLICITCASTEXPR(Type, Base) | |
^ | |
C:/Program Files/LLVM/include\clang/AST/StmtNodes.inc:847:40: note: expanded from macro 'EXPLICITCASTEXPR' | |
# define EXPLICITCASTEXPR(Type, Base) CASTEXPR(Type, Base) | |
^ | |
C:/Program Files/LLVM/include\clang/AST/StmtNodes.inc:843:32: note: expanded from macro 'CASTEXPR' | |
# define CASTEXPR(Type, Base) EXPR(Type, Base) | |
^ | |
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) | |
C:/Program Files/LLVM/include\clang/AST/StmtNodes.inc:581:33: note: expanded from macro 'VALUESTMT' | |
# define VALUESTMT(Type, Base) STMT(Type, Base) | |
^ | |
C:/Program Files/LLVM/include\clang/AST/RecursiveASTVisitor.h:553:14: note: expanded from macro 'STMT' | |
TRY_TO(WalkUpFrom##CLASS(static_cast<CLASS *>(S))); \ | |
^ | |
<scratch space>:80:1: note: expanded from here | |
WalkUpFromBuiltinBitCastExpr | |
^ | |
C:/Program Files/LLVM/include\clang/AST/RecursiveASTVisitor.h:597:16: note: in instantiation of member function 'clang::RecursiveASTVisitor<include_what_you_use::InstantiatedTemplateVisitor>::PostVisitStmt' requested here | |
TRY_TO(PostVisitStmt(CurrS)); | |
^ | |
C:/Program Files/LLVM/include\clang/AST/RecursiveASTVisitor.h:2453:1: note: in instantiation of member function 'clang::RecursiveASTVisitor<include_what_you_use::InstantiatedTemplateVisitor>::TraverseStmt' requested here | |
DEF_TRAVERSE_STMT(UnaryExprOrTypeTraitExpr, { | |
^ | |
C:/Program Files/LLVM/include\clang/AST/RecursiveASTVisitor.h:2180:9: note: expanded from macro 'DEF_TRAVERSE_STMT' | |
TRY_TO_TRAVERSE_OR_ENQUEUE_STMT(SubStmt); \ | |
^ | |
C:/Program Files/LLVM/include\clang/AST/RecursiveASTVisitor.h:366:10: note: expanded from macro 'TRY_TO_TRAVERSE_OR_ENQUEUE_STMT' | |
if (!TRAVERSE_STMT_BASE(Stmt, Stmt, S, Queue)) \ | |
^ | |
C:/Program Files/LLVM/include\clang/AST/RecursiveASTVisitor.h:358:15: note: expanded from macro 'TRAVERSE_STMT_BASE' | |
.Traverse##NAME(static_cast<CLASS *>(VAR), QUEUE) \ | |
^ | |
<scratch space>:132:1: note: expanded from here | |
TraverseStmt | |
^ | |
../iwyu.cc:2931:16: note: in instantiation of member function 'clang::RecursiveASTVisitor<include_what_you_use::InstantiatedTemplateVisitor>::TraverseUnaryExprOrTypeTraitExpr' requested here | |
if (!Base::TraverseUnaryExprOrTypeTraitExpr(expr)) return false; | |
^ | |
1 warning and 5 errors generated. | |
ninja: build stopped: subcommand failed. | |
PS C:\Users\william\Downloads\include-what-you-use\build> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\william\Downloads\include-what-you-use\build> cmake .. -DCMAKE_PREFIX_PATH="C:/Program Files/LLVM/lib" -G Ninja | |
-- IWYU: out-of-tree configuration | |
-- The C compiler identification is GNU 8.1.0 | |
-- The CXX compiler identification is GNU 8.1.0 | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working C compiler: C:/Program Files/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin/gcc.exe - skipped | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Check for working CXX compiler: C:/Program Files/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin/c++.exe - skipped | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME | |
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success | |
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME | |
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success | |
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW | |
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed | |
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW | |
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed | |
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG | |
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success | |
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG | |
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG | |
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success | |
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG | |
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed | |
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG | |
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed | |
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG | |
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG | |
-- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Failed | |
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG | |
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success | |
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG | |
-- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed | |
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG | |
-- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success | |
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG | |
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success | |
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL | |
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Failed | |
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP | |
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed | |
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG | |
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed | |
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG | |
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed | |
-- Looking for os_signpost_interval_begin | |
-- Looking for os_signpost_interval_begin - not found | |
-- IWYU: configuring for LLVM 12.0.0... | |
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.31.1.windows.1") | |
-- Found PythonInterp: C:/Users/william/AppData/Local/Programs/Python/Python39/python.exe (found version "3.9.4") | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: C:/Users/william/Downloads/include-what-you-use/build | |
PS C:\Users\william\Downloads\include-what-you-use\build> cmake --build . -j 32 | |
[180/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_getopt.cc.obj | |
<command-line>: warning: "_FILE_OFFSET_BITS" redefined | |
<command-line>: note: this is the location of the previous definition | |
[181/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.obj | |
<command-line>: warning: "_FILE_OFFSET_BITS" redefined | |
<command-line>: note: this is the location of the previous definition | |
[182/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_lexer_utils.cc.obj | |
<command-line>: warning: "_FILE_OFFSET_BITS" redefined | |
<command-line>: note: this is the location of the previous definition | |
[183/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.obj | |
<command-line>: warning: "_FILE_OFFSET_BITS" redefined | |
<command-line>: note: this is the location of the previous definition | |
[184/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.obj | |
<command-line>: warning: "_FILE_OFFSET_BITS" redefined | |
<command-line>: note: this is the location of the previous definition | |
[185/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_cache.cc.obj | |
<command-line>: warning: "_FILE_OFFSET_BITS" redefined | |
<command-line>: note: this is the location of the previous definition | |
[186/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.obj | |
<command-line>: warning: "_FILE_OFFSET_BITS" redefined | |
<command-line>: note: this is the location of the previous definition | |
[187/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.obj | |
<command-line>: warning: "_FILE_OFFSET_BITS" redefined | |
<command-line>: note: this is the location of the previous definition | |
[188/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.obj | |
<command-line>: warning: "_FILE_OFFSET_BITS" redefined | |
<command-line>: note: this is the location of the previous definition | |
[189/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.obj | |
FAILED: CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.obj | |
C:\PROGRA~1\MINGW-~1\X86_64~1.0-W\mingw64\bin\C__~1.EXE -DGTEST_HAS_RTTI=0 -DIWYU_GIT_REV=\"2dfe3bf\" -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS="64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"C:/Program Files/LLVM/include" -Wa,-mbig-obj -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wa,-mbig-obj -fno-exceptions -fno-rtti -std=c++14 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.obj -MF CMakeFiles\include-what-you-use.dir\iwyu_driver.cc.obj.d -o CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.obj -c ../iwyu_driver.cc | |
<command-line>: warning: "_FILE_OFFSET_BITS" redefined | |
<command-line>: note: this is the location of the previous definition | |
In file included from C:/Program Files/LLVM/include/clang/Frontend/Utils.h:26, | |
from C:/Program Files/LLVM/include/clang/Frontend/CompilerInstance.h:17, | |
from ../iwyu_driver.cc:34: | |
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:46:8: error: 'mutex' in namespace 'std' does not name a type | |
std::mutex Mutex; | |
^~~~~ | |
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:46:3: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'? | |
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:17:1: | |
+#include <mutex> | |
#include <string> | |
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:46:3: | |
std::mutex Mutex; | |
^~~ | |
[190/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_output.cc.obj | |
<command-line>: warning: "_FILE_OFFSET_BITS" redefined | |
<command-line>: note: this is the location of the previous definition | |
[191/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu.cc.obj | |
FAILED: CMakeFiles/include-what-you-use.dir/iwyu.cc.obj | |
C:\PROGRA~1\MINGW-~1\X86_64~1.0-W\mingw64\bin\C__~1.EXE -DGTEST_HAS_RTTI=0 -DIWYU_GIT_REV=\"2dfe3bf\" -D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS="64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"C:/Program Files/LLVM/include" -Wa,-mbig-obj -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wa,-mbig-obj -fno-exceptions -fno-rtti -std=c++14 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu.cc.obj -MF CMakeFiles\include-what-you-use.dir\iwyu.cc.obj.d -o CMakeFiles/include-what-you-use.dir/iwyu.cc.obj -c ../iwyu.cc | |
<command-line>: warning: "_FILE_OFFSET_BITS" redefined | |
<command-line>: note: this is the location of the previous definition | |
In file included from C:/Program Files/LLVM/include/clang/Analysis/AnalysisDeclContext.h:22, | |
from C:/Program Files/LLVM/include/clang/Analysis/PathDiagnostic.h:17, | |
from C:/Program Files/LLVM/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h:17, | |
from C:/Program Files/LLVM/include/clang/Frontend/CompilerInvocation.h:22, | |
from C:/Program Files/LLVM/include/clang/Frontend/CompilerInstance.h:15, | |
from ../iwyu.cc:135: | |
C:/Program Files/LLVM/include/clang/Analysis/CFG.h:1380:32: error: expected identifier before '&' token | |
void VisitBlockStmts(CALLBACK& O) const { | |
^ | |
C:/Program Files/LLVM/include/clang/Analysis/CFG.h: In member function 'void clang::CFG::VisitBlockStmts(int&) const': | |
C:/Program Files/LLVM/include/clang/Analysis/CFG.h:1385:47: error: expression cannot be used as a function | |
O(const_cast<Stmt*>(stmt->getStmt())); | |
^ | |
In file included from C:/Program Files/LLVM/include/clang/Frontend/Utils.h:26, | |
from C:/Program Files/LLVM/include/clang/Frontend/CompilerInstance.h:17, | |
from ../iwyu.cc:135: | |
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h: At global scope: | |
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:46:8: error: 'mutex' in namespace 'std' does not name a type | |
std::mutex Mutex; | |
^~~~~ | |
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:46:3: note: 'std::mutex' is defined in header '<mutex>'; did you forget to '#include <mutex>'? | |
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:17:1: | |
+#include <mutex> | |
#include <string> | |
C:/Program Files/LLVM/include/llvm/Support/FileCollector.h:46:3: | |
std::mutex Mutex; | |
^~~ | |
../iwyu.cc: In member function 'bool include_what_you_use::IwyuBaseAstVisitor<Derived>::VisitCastExpr(clang::CastExpr*)': | |
../iwyu.cc:2001:19: error: 'CK_MatrixCast' is not a member of 'clang' | |
case clang::CK_MatrixCast: | |
^~~~~~~~~~~~~ | |
../iwyu.cc:2001:19: note: suggested alternative: 'CK_BitCast' | |
case clang::CK_MatrixCast: | |
^~~~~~~~~~~~~ | |
CK_BitCast | |
In file included from ../iwyu.cc:104: | |
../iwyu_ast_util.h: In member function 'const void* include_what_you_use::ASTNode::DynCast(const void*) const [with Ignored = void]': | |
../iwyu_ast_util.h:305:3: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
[192/193] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.obj | |
<command-line>: warning: "_FILE_OFFSET_BITS" redefined | |
<command-line>: note: this is the location of the previous definition | |
ninja: build stopped: subcommand failed. | |
PS C:\Users\william\Downloads\include-what-you-use\build> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\william\Downloads\include-what-you-use\build> cmake .. -DCMAKE_PREFIX_PATH="C:/Users/william/Downloads/llvm-project-llvmorg-12.0.0/build" -DZLIB_LIBRARY="C:/dev/vcpkg/installed/x64-windows-static/lib/zlib.lib" -DZLIB_INCLUDE_DIR="C:/dev/vcpkg/installed/x64-windows-static/include" -DCMAKE_BUILD_TYPE=Release | |
-- Building for: Visual Studio 16 2019 | |
-- IWYU: out-of-tree configuration | |
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.21376. | |
-- The C compiler identification is MSVC 19.28.29914.0 | |
-- The CXX compiler identification is MSVC 19.28.29914.0 | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- Found ZLIB: C:/dev/vcpkg/installed/x64-windows-static/lib/zlib.lib (found version "1.2.11") | |
-- Using Debug VC++ CRT: MDd | |
-- Using Release VC++ CRT: MD | |
-- Using MinSizeRel VC++ CRT: MD | |
-- Using RelWithDebInfo VC++ CRT: MD | |
-- Using Release VC++ CRT: MD | |
-- Looking for os_signpost_interval_begin | |
-- Looking for os_signpost_interval_begin - not found | |
-- IWYU: configuring for LLVM 12.0.0... | |
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.31.1.windows.1") | |
-- Found PythonInterp: C:/Users/william/AppData/Local/Programs/Python/Python39/python.exe (found version "3.9.4") | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: C:/Users/william/Downloads/include-what-you-use/build | |
PS C:\Users\william\Downloads\include-what-you-use\build> cmake --build . --config Release | |
Microsoft (R) Build Engine version 16.9.0+5e4b48a27 for .NET Framework | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
Checking Build System | |
Building Custom Rule C:/Users/william/Downloads/include-what-you-use/CMakeLists.txt | |
Building Custom Rule C:/Users/william/Downloads/include-what-you-use/CMakeLists.txt | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
iwyu.cc | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
iwyu_ast_util.cc | |
iwyu_cache.cc | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
iwyu_driver.cc | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
iwyu_getopt.cc | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
iwyu_globals.cc | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
iwyu_include_picker.cc | |
iwyu_lexer_utils.cc | |
iwyu_location_util.cc | |
iwyu_output.cc | |
iwyu_path_util.cc | |
iwyu_preprocessor.cc | |
iwyu_verrs.cc | |
C:\Program Files\LLVM\include\clang/Analysis/CFG.h(1380,3): warning C4229: anachronism used: modifiers on data are igno | |
red (compiling source file C:\Users\william\Downloads\include-what-you-use\iwyu.cc) [C:\Users\william\Downloads\include | |
-what-you-use\build\include-what-you-use.vcxproj] | |
C:\Program Files\LLVM\include\clang/Analysis/CFG.h(1380,3): error C4430: missing type specifier - int assumed. Note: C+ | |
+ does not support default-int (compiling source file C:\Users\william\Downloads\include-what-you-use\iwyu.cc) [C:\User | |
s\william\Downloads\include-what-you-use\build\include-what-you-use.vcxproj] | |
C:\Program Files\LLVM\include\clang/Analysis/CFG.h(1380,24): error C2988: unrecognizable template declaration/definitio | |
n (compiling source file C:\Users\william\Downloads\include-what-you-use\iwyu.cc) [C:\Users\william\Downloads\include-w | |
hat-you-use\build\include-what-you-use.vcxproj] | |
C:\Program Files\LLVM\include\clang/Analysis/CFG.h(1380,24): error C2059: syntax error: '__cdecl' (compiling source fil | |
e C:\Users\william\Downloads\include-what-you-use\iwyu.cc) [C:\Users\william\Downloads\include-what-you-use\build\inclu | |
de-what-you-use.vcxproj] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\william\Downloads\include-what-you-use\build> cmake .. -DCMAKE_PREFIX_PATH="C:/Program Files/LLVM/lib" -DCMAKE_CXX_FLAGS="/MP32 /Zm2000" | |
-- Building for: Visual Studio 16 2019 | |
-- IWYU: out-of-tree configuration | |
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.21376. | |
-- The C compiler identification is MSVC 19.28.29914.0 | |
-- The CXX compiler identification is MSVC 19.28.29914.0 | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- Using Debug VC++ CRT: MDd | |
-- Using Release VC++ CRT: MD | |
-- Using MinSizeRel VC++ CRT: MD | |
-- Using RelWithDebInfo VC++ CRT: MD | |
-- Looking for os_signpost_interval_begin | |
-- Looking for os_signpost_interval_begin - not found | |
-- IWYU: configuring for LLVM 12.0.0... | |
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.31.1.windows.1") | |
-- Found PythonInterp: C:/Users/william/AppData/Local/Programs/Python/Python39/python.exe (found version "3.9.4") | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: C:/Users/william/Downloads/include-what-you-use/build | |
PS C:\Users\william\Downloads\include-what-you-use\build> cmake --build . -j 32 | |
Microsoft (R) Build Engine version 16.9.0+5e4b48a27 for .NET Framework | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
Checking Build System | |
Copying clang's __clang_cuda_builtin_vars.h... | |
Copying clang's __clang_cuda_cmath.h... | |
Copying clang's __clang_cuda_complex_builtins.h... | |
Copying clang's __clang_cuda_device_functions.h... | |
Copying clang's __clang_cuda_intrinsics.h... | |
Copying clang's __clang_cuda_libdevice_declares.h... | |
Copying clang's __clang_cuda_math.h... | |
Copying clang's __clang_cuda_math_forward_declares.h... | |
Copying clang's __clang_cuda_runtime_wrapper.h... | |
Copying clang's __clang_hip_cmath.h... | |
Copying clang's __clang_hip_libdevice_declares.h... | |
Copying clang's __clang_hip_math.h... | |
Copying clang's __clang_hip_runtime_wrapper.h... | |
Copying clang's __stddef_max_align_t.h... | |
Copying clang's __wmmintrin_aes.h... | |
Copying clang's __wmmintrin_pclmul.h... | |
Copying clang's adxintrin.h... | |
Copying clang's altivec.h... | |
Copying clang's ammintrin.h... | |
Copying clang's amxintrin.h... | |
Copying clang's arm64intr.h... | |
Copying clang's arm_acle.h... | |
Copying clang's arm_bf16.h... | |
Copying clang's arm_cde.h... | |
Copying clang's arm_cmse.h... | |
Copying clang's arm_fp16.h... | |
Copying clang's arm_mve.h... | |
Copying clang's arm_neon.h... | |
Copying clang's arm_sve.h... | |
Copying clang's armintr.h... | |
Copying clang's avx2intrin.h... | |
Copying clang's avx512bf16intrin.h... | |
Copying clang's avx512bitalgintrin.h... | |
Copying clang's avx512bwintrin.h... | |
Copying clang's avx512cdintrin.h... | |
Copying clang's avx512dqintrin.h... | |
Copying clang's avx512erintrin.h... | |
Copying clang's avx512fintrin.h... | |
Copying clang's avx512ifmaintrin.h... | |
Copying clang's avx512ifmavlintrin.h... | |
Copying clang's avx512pfintrin.h... | |
Copying clang's avx512vbmi2intrin.h... | |
Copying clang's avx512vbmiintrin.h... | |
Copying clang's avx512vbmivlintrin.h... | |
Copying clang's avx512vlbf16intrin.h... | |
Copying clang's avx512vlbitalgintrin.h... | |
Copying clang's avx512vlbwintrin.h... | |
Copying clang's avx512vlcdintrin.h... | |
Copying clang's avx512vldqintrin.h... | |
Copying clang's avx512vlintrin.h... | |
Copying clang's avx512vlvbmi2intrin.h... | |
Copying clang's avx512vlvnniintrin.h... | |
Copying clang's avx512vlvp2intersectintrin.h... | |
Copying clang's avx512vnniintrin.h... | |
Copying clang's avx512vp2intersectintrin.h... | |
Copying clang's avx512vpopcntdqintrin.h... | |
Copying clang's avx512vpopcntdqvlintrin.h... | |
Copying clang's avxintrin.h... | |
Copying clang's avxvnniintrin.h... | |
Copying clang's bmi2intrin.h... | |
Copying clang's bmiintrin.h... | |
Copying clang's cet.h... | |
Copying clang's cetintrin.h... | |
Copying clang's cldemoteintrin.h... | |
Copying clang's clflushoptintrin.h... | |
Copying clang's clwbintrin.h... | |
Copying clang's clzerointrin.h... | |
Copying clang's cpuid.h... | |
Copying clang's cuda_wrappers/algorithm... | |
Copying clang's cuda_wrappers/complex... | |
Copying clang's cuda_wrappers/new... | |
Copying clang's emmintrin.h... | |
Copying clang's enqcmdintrin.h... | |
Copying clang's f16cintrin.h... | |
Copying clang's float.h... | |
Copying clang's fma4intrin.h... | |
Copying clang's fmaintrin.h... | |
Copying clang's fuzzer/FuzzedDataProvider.h... | |
Copying clang's fxsrintrin.h... | |
Copying clang's gfniintrin.h... | |
Copying clang's hresetintrin.h... | |
Copying clang's htmintrin.h... | |
Copying clang's htmxlintrin.h... | |
Copying clang's ia32intrin.h... | |
Copying clang's immintrin.h... | |
Copying clang's intrin.h... | |
Copying clang's inttypes.h... | |
Copying clang's invpcidintrin.h... | |
Copying clang's iso646.h... | |
Copying clang's keylockerintrin.h... | |
Copying clang's limits.h... | |
Copying clang's lwpintrin.h... | |
Copying clang's lzcntintrin.h... | |
Copying clang's mm3dnow.h... | |
Copying clang's mm_malloc.h... | |
Copying clang's mmintrin.h... | |
Copying clang's module.modulemap... | |
Copying clang's movdirintrin.h... | |
Copying clang's msa.h... | |
Copying clang's mwaitxintrin.h... | |
Copying clang's nmmintrin.h... | |
Copying clang's opencl-c-base.h... | |
Copying clang's opencl-c.h... | |
Copying clang's openmp_wrappers/__clang_openmp_device_functions.h... | |
Copying clang's openmp_wrappers/cmath... | |
Copying clang's openmp_wrappers/complex... | |
Copying clang's openmp_wrappers/complex.h... | |
Copying clang's openmp_wrappers/complex_cmath.h... | |
Copying clang's openmp_wrappers/math.h... | |
Copying clang's openmp_wrappers/new... | |
Copying clang's pconfigintrin.h... | |
Copying clang's pkuintrin.h... | |
Copying clang's pmmintrin.h... | |
Copying clang's popcntintrin.h... | |
Copying clang's ppc_wrappers/emmintrin.h... | |
Copying clang's ppc_wrappers/mm_malloc.h... | |
Copying clang's ppc_wrappers/mmintrin.h... | |
Copying clang's ppc_wrappers/pmmintrin.h... | |
Copying clang's ppc_wrappers/smmintrin.h... | |
Copying clang's ppc_wrappers/tmmintrin.h... | |
Copying clang's ppc_wrappers/xmmintrin.h... | |
Copying clang's prfchwintrin.h... | |
Copying clang's profile/InstrProfData.inc... | |
Copying clang's ptwriteintrin.h... | |
Copying clang's rdseedintrin.h... | |
Copying clang's rtmintrin.h... | |
Copying clang's s390intrin.h... | |
Copying clang's sanitizer/allocator_interface.h... | |
Copying clang's sanitizer/asan_interface.h... | |
Copying clang's sanitizer/common_interface_defs.h... | |
Copying clang's sanitizer/coverage_interface.h... | |
Copying clang's sanitizer/dfsan_interface.h... | |
Copying clang's sanitizer/hwasan_interface.h... | |
Copying clang's sanitizer/linux_syscall_hooks.h... | |
Copying clang's sanitizer/lsan_interface.h... | |
Copying clang's sanitizer/msan_interface.h... | |
Copying clang's sanitizer/netbsd_syscall_hooks.h... | |
Copying clang's sanitizer/scudo_interface.h... | |
Copying clang's sanitizer/tsan_interface.h... | |
Copying clang's sanitizer/tsan_interface_atomic.h... | |
Copying clang's sanitizer/ubsan_interface.h... | |
Copying clang's serializeintrin.h... | |
Copying clang's sgxintrin.h... | |
Copying clang's shaintrin.h... | |
Copying clang's smmintrin.h... | |
Copying clang's stdalign.h... | |
Copying clang's stdarg.h... | |
Copying clang's stdatomic.h... | |
Copying clang's stdbool.h... | |
Copying clang's stddef.h... | |
Copying clang's stdint.h... | |
Copying clang's stdnoreturn.h... | |
Copying clang's tbmintrin.h... | |
Copying clang's tgmath.h... | |
Copying clang's tmmintrin.h... | |
Copying clang's tsxldtrkintrin.h... | |
Copying clang's uintrintrin.h... | |
Copying clang's unwind.h... | |
Copying clang's vadefs.h... | |
Copying clang's vaesintrin.h... | |
Copying clang's varargs.h... | |
Copying clang's vecintrin.h... | |
Copying clang's vpclmulqdqintrin.h... | |
Copying clang's waitpkgintrin.h... | |
Copying clang's wasm_simd128.h... | |
Copying clang's wbnoinvdintrin.h... | |
Copying clang's wmmintrin.h... | |
Copying clang's x86gprintrin.h... | |
Copying clang's x86intrin.h... | |
Copying clang's xmmintrin.h... | |
Copying clang's xopintrin.h... | |
Copying clang's xray/xray_interface.h... | |
Copying clang's xray/xray_log_interface.h... | |
Copying clang's xray/xray_records.h... | |
Copying clang's xsavecintrin.h... | |
Copying clang's xsaveintrin.h... | |
Copying clang's xsaveoptintrin.h... | |
Copying clang's xsavesintrin.h... | |
Copying clang's xtestintrin.h... | |
Building Custom Rule C:/Users/william/Downloads/include-what-you-use/CMakeLists.txt | |
Building Custom Rule C:/Users/william/Downloads/include-what-you-use/CMakeLists.txt | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
iwyu.cc | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
iwyu_ast_util.cc | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
iwyu_cache.cc | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
iwyu_driver.cc | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
iwyu_getopt.cc | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
iwyu_globals.cc | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
iwyu_include_picker.cc | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHs' with '/EHs-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
cl : command line warning D9025: overriding '/EHc' with '/EHc-' [C:\Users\william\Downloads\include-what-you-use\build\ | |
include-what-you-use.vcxproj] | |
iwyu_lexer_utils.cc | |
iwyu_location_util.cc | |
iwyu_output.cc | |
iwyu_path_util.cc | |
iwyu_preprocessor.cc | |
iwyu_verrs.cc | |
C:\Program Files\LLVM\include\clang/Analysis/CFG.h(1380,3): warning C4229: anachronism used: modifiers on data are igno | |
red (compiling source file C:\Users\william\Downloads\include-what-you-use\iwyu.cc) [C:\Users\william\Downloads\include | |
-what-you-use\build\include-what-you-use.vcxproj] | |
C:\Program Files\LLVM\include\clang/Analysis/CFG.h(1380,3): error C4430: missing type specifier - int assumed. Note: C+ | |
+ does not support default-int (compiling source file C:\Users\william\Downloads\include-what-you-use\iwyu.cc) [C:\User | |
s\william\Downloads\include-what-you-use\build\include-what-you-use.vcxproj] | |
C:\Program Files\LLVM\include\clang/Analysis/CFG.h(1380,24): error C2988: unrecognizable template declaration/definitio | |
n (compiling source file C:\Users\william\Downloads\include-what-you-use\iwyu.cc) [C:\Users\william\Downloads\include-w | |
hat-you-use\build\include-what-you-use.vcxproj] | |
C:\Program Files\LLVM\include\clang/Analysis/CFG.h(1380,24): error C2059: syntax error: '__cdecl' (compiling source fil | |
e C:\Users\william\Downloads\include-what-you-use\iwyu.cc) [C:\Users\william\Downloads\include-what-you-use\build\inclu | |
de-what-you-use.vcxproj] | |
PS C:\Users\william\Downloads\include-what-you-use\build> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment