fix for cmake ExternalProject_Add #267
Annotations
2 errors and 1 warning
Build
FAILED: tests/CMakeFiles/test-visit-any.dir/visit_any.cc.obj
D:\a\cmdr-cxx\cmdr-cxx\ccache.exe C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe /TP -DCMDR_ENABLE_ASSERTIONS=1 -DCMDR_ENABLE_PRECONDITION_CHECKS=1 -DCMDR_ENABLE_WRAPPER=1 -DCMDR_TEST_THREAD_POOL_DBGOUT=0 -DCMDR_UNIT_TEST=0 -ID:\a\cmdr-cxx\cmdr-cxx\build\generated -ID:\a\cmdr-cxx\cmdr-cxx -ID:\a\cmdr-cxx\cmdr-cxx\libs\cmdr11\include /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 -std:c++20 /W4 /WX /D_CRT_SECURE_NO_WARNINGS -DNDEBUG=1 /utf-8 /DCMDR_CXX11_UNIT_TEST=1 /wd4800 /showIncludes /Fotests\CMakeFiles\test-visit-any.dir\visit_any.cc.obj /Fdtests\CMakeFiles\test-visit-any.dir\ /FS -c D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.cc
D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.hh(80): error C2220: the following warning is treated as an error
D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.hh(80): warning C4100: 'a': unreferenced formal parameter
D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.hh(80): note: the template instantiation context (the oldest one first) is
D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.cc(37): note: see reference to class template instantiation 'study::streamer_any<std::ostream>' being compiled
D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.hh(59): note: while compiling class template member function 'study::streamer_any<std::ostream>::R &study::streamer_any<std::ostream>::any_visitors(void)'
D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.hh(89): note: see the first reference to 'study::streamer_any<std::ostream>::any_visitors' in 'study::streamer_any<std::ostream>::process'
D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.cc(41): note: see the first reference to 'study::streamer_any<std::ostream>::process' in 'test_streamer_any'
D:\a\cmdr-cxx\cmdr-cxx\tests\visit_any.hh(61): note: see reference to function template instantiation 'std::pair<const std::type_index,std::function<void (std::ostream &,const std::any &)>> study::streamer_any<std::ostream>::to_any_visitor<void,study::streamer_any<std::ostream>::any_visitors::<lambda_1>>(const F &)' being compiled
with
[
F=study::streamer_any<std::ostream>::any_visitors::<lambda_1>
]
Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34120 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[15/47 0.7/sec] C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=tests\CMakeFiles\test-basic.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests -- C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\link.exe tests\CMakeFiles\test-basic.dir\basic.cc.obj /out:D:\a\cmdr-cxx\cmdr-cxx\bin\dbg\test-basic.exe /implib:D:\a\cmdr-cxx\cmdr-cxx\bin\dbg\test-basic.lib /pdb:D:\a\cmdr-cxx\cmdr-cxx\bin\dbg\test-basic.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && C:\Windows\system32\cmd.exe /C "cd /D D:\a\cmdr-cxx\cmdr-cxx\build\tests && "C:\Program Files\PowerShell\7\pwsh.exe" -noprofile -executionpolicy Bypass -file C:/vcpkg/scripts/buildsystems/msbuild/applocal.ps1 -targetBinary D:/a/cmdr-cxx/cmdr-cxx/bin/dbg/test-basic.exe -installedDir C:/vcpkg/installed/x64-windows/debug/bin -OutVariable out""
[16/47 0.7/sec] C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=tests\CMakeFiles\test-factory.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests -- C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\link.exe tests\CMakeFiles\test-factory.dir\factory.cc.obj /out:D:\a\cmdr-cxx\cmdr-cxx\bin\dbg\test-factory.exe /implib:D:\a\cmdr-cxx\cmdr-cxx\bin\dbg\test-factory.lib /pdb:D:\a\cmdr-cxx\cmdr-cxx\bin\dbg\test-factory.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:c
|
Build
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading