You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake repo https://github.com/doocman/dooc-np (commit SHA: b606cd9e8f01036c4eb1f37ce9091d44c50d2aef ) crash when using clang-cl.exe (v. 13.0.1) and building the tests.
To reproduce:
clone the project with the commit.
Run cmake in the root directory with DOOC_BUILD_TESTS to ON and use clang-cl.exe for both C and C++ compilation.
There is an automatic download of google test in the cmakelists.txt file. You can get around it by adding a CMakeLists.txt-file above the repo that sets DOOC_NP_TESTS_GTEST to e.g. NA (anything but DOWNLOAD for the moment) and then include gtest in some other way. (currently using commit SHA c9461a9b55ba954df0489bab6420eb297bed846b on google repo).
Neither C-Vise nor C-Reduce seems to be easily used on windows, but I'll see if I can get it to work and be able to produce a much smaller test source file, or see if the problem persists on linux as well.
Tested the same piece of code with clang-cpp-12 in Ubuntu 20.04 (WSL 2) and it compiles just fine.
Do not know if the problem is related to clang 13, or if it relates to the MSVC standard library used in windows or if there's some difference in the front end for the windows clang bundled with the visual studio installation.
CMake repo https://github.com/doocman/dooc-np (commit SHA: b606cd9e8f01036c4eb1f37ce9091d44c50d2aef ) crash when using clang-cl.exe (v. 13.0.1) and building the tests.
To reproduce:
clone the project with the commit.
Run cmake in the root directory with
DOOC_BUILD_TESTS
toON
and useclang-cl.exe
for both C and C++ compilation.There is an automatic download of google test in the
cmakelists.txt
file. You can get around it by adding a CMakeLists.txt-file above the repo that setsDOOC_NP_TESTS_GTEST
to e.g.NA
(anything butDOWNLOAD
for the moment) and then include gtest in some other way. (currently using commit SHA c9461a9b55ba954df0489bab6420eb297bed846b on google repo).Neither C-Vise nor C-Reduce seems to be easily used on windows, but I'll see if I can get it to work and be able to produce a much smaller test source file, or see if the problem persists on linux as well.
This is the stack dump:
The text was updated successfully, but these errors were encountered: