Skip to content

try fix for windows building #271

try fix for windows building

try fix for windows building #271

Triggered via push September 8, 2024 14:20
Status Failure
Total duration 3m 10s
Artifacts 2

cmake.yml

on: push
Matrix: build
release
0s
release
Matrix: publish
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 4 warnings
Windows Latest MSVC
FAILED: tests/CMakeFiles/test-compiler.dir/compiler.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-compiler.dir\compiler.cc.obj /Fdtests\CMakeFiles\test-compiler.dir\ /FS -c D:\a\cmdr-cxx\cmdr-cxx\tests\compiler.cc D:\a\cmdr-cxx\cmdr-cxx\tests\compiler.cc(34): error C2593: 'operator <<' is ambiguous D:\a\cmdr-cxx\cmdr-cxx\libs\cmdr11\include\cmdr11/cmdr_chrono.hh(903): note: could be 'std::ostream &operator <<<std::chrono::system_clock,std::chrono::duration<std::chrono::system_clock::rep,std::chrono::system_clock::period>>(std::ostream &,const std::chrono::time_point<std::chrono::system_clock,std::chrono::duration<std::chrono::system_clock::rep,std::chrono::system_clock::period>> &)' C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.41.34120\include\chrono(5195): note: or 'std::basic_ostream<char,std::char_traits<char>> &std::chrono::operator <<<char,std::char_traits<char>,std::chrono::duration<std::chrono::system_clock::rep,std::chrono::system_clock::period>>(std::basic_ostream<char,std::char_traits<char>> &,const std::chrono::time_point<std::chrono::system_clock,std::chrono::duration<std::chrono::system_clock::rep,std::chrono::system_clock::period>> &)' D:\a\cmdr-cxx\cmdr-cxx\tests\compiler.cc(34): note: while trying to match the argument list '(std::basic_ostream<char,std::char_traits<char>>, std::chrono::system_clock::time_point)' D:\a\cmdr-cxx\cmdr-cxx\tests\compiler.cc(35): error C2593: 'operator <<' is ambiguous D:\a\cmdr-cxx\cmdr-cxx\libs\cmdr11\include\cmdr11/cmdr_chrono.hh(903): note: could be 'std::ostream &operator <<<std::chrono::system_clock,std::chrono::duration<std::chrono::system_clock::rep,std::chrono::system_clock::period>>(std::ostream &,const std::chrono::time_point<std::chrono::system_clock,std::chrono::duration<std::chrono::system_clock::rep,std::chrono::system_clock::period>> &)' C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.41.34120\include\chrono(5195): note: or 'std::basic_ostream<char,std::char_traits<char>> &std::chrono::operator <<<char,std::char_traits<char>,std::chrono::duration<std::chrono::system_clock::rep,std::chrono::system_clock::period>>(std::basic_ostream<char,std::char_traits<char>> &,const std::chrono::time_point<std::chrono::system_clock,std::chrono::duration<std::chrono::system_clock::rep,std::chrono::system_clock::period>> &)' D:\a\cmdr-cxx\cmdr-cxx\tests\compiler.cc(35): note: while trying to match the argument list '(std::basic_ostream<char,std::char_traits<char>>, std::chrono::system_clock::time_point)' D:\a\cmdr-cxx\cmdr-cxx\tests\compiler.cc(36): error C2593: 'operator <<' is ambiguous D:\a\cmdr-cxx\cmdr-cxx\libs\cmdr11\include\cmdr11/cmdr_chrono.hh(903): note: could be 'std::ostream &operator <<<std::chrono::system_clock,std::chrono::duration<std::chrono::system_clock::rep,std::chrono::system_clock::period>>(std::ostream &,const std::chrono::time_point<std::chrono::system_clock,std::chrono::duration<std::chrono::system_clock::rep,std::chrono::system_clock::period>> &)' C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.41.34120\include\chrono(5195): note: or 'std::basic_ostream<char,std::char_traits<char>> &std::chrono::operator <<<char,std::char_traits<char>,std::chrono::duration<std::chrono::system_clock::rep,std::chrono::system_clock::period>>(std::basic_ostream<char,std::char_traits<char>> &,const std::chrono::time_point<std::chrono::system_clock,std::chrono::duration<std::chrono::system_clock::rep,std::chrono::system_clock::period>> &)' D:\a\cmdr-cxx\cmdr-cxx
Windows Latest MSVC
Process completed with exit code 1.
Ubuntu Latest GCC
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/
Windows Latest MSVC
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/
macOS Latest Clang
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/
macOS Latest Clang
p7zip 17.05 is already installed and up-to-date. To reinstall 17.05, run: brew reinstall p7zip

Artifacts

Produced during runtime
Name Size
Linux.7z
91.7 KB
macOS.7z
91.8 KB