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
When compiling all cmake-Tests for isnan fail. Later then compiling fails with missing "std::_isnan" (no idea, why there is an underscore). Though "std::isnan" should exist on my plattform in cmath, there defined as: using _CSTD isnan;
Following error message: error: namespace "std" has no member "_isnan"
Compilers & Libraries (please complete the following information):
Following cmake configuration output: configuration.txt
Start of CMakeError.log looks like this:
Determining if the function std::isnan exists failed with the following output:
Change Dir: D:/Destranix/Documents/00Uni/Simulation/SAMARAI-Builds/objs/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_32829 && [1/2] Building C object CMakeFiles\cmTC_32829.dir\CheckFunctionExists.c.obj
FAILED: CMakeFiles/cmTC_32829.dir/CheckFunctionExists.c.obj
C:\PROGRA~2\MICROS~2\2022\BUILDT~1\VC\Tools\MSVC\1431~1.311\\bin\Hostx64\x64\cl.exe /nologo /DWIN32 /D_WINDOWS /W3 /bigobj /W4 -DCHECK_FUNCTION_EXISTS=std::isnan /MD /O2 /Ob2 /DNDEBUG /showIncludes /FoCMakeFiles\cmTC_32829.dir\CheckFunctionExists.c.obj /FdCMakeFiles\cmTC_32829.dir\ /FS -c "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.22\Modules\CheckFunctionExists.c"
cl : Command line warning D9025 : overriding '/W3' with '/W4'
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.22\Modules\CheckFunctionExists.c(7): error C2143: syntax error: missing '{' before ':'
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.22\Modules\CheckFunctionExists.c(7): error C2059: syntax error: ':'
C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.22\Modules\CheckFunctionExists.c(17): error C2143: syntax error: missing ';' before ':'
ninja: build stopped: subcommand failed.
So maybe this is just an error in cmake (I'll try to update the next days if this is not a known bug. The test for std::isnan though suggests, that there might be known problems related).
Additional context
I had a couple of issues building dependencies, maybe that's conncted or maybe that's just due to me using a compiler nobody else tested?
The text was updated successfully, but these errors were encountered:
Describe the bug
When compiling all cmake-Tests for isnan fail. Later then compiling fails with missing "std::_isnan" (no idea, why there is an underscore). Though "std::isnan" should exist on my plattform in cmath, there defined as:
using _CSTD isnan;
Following error message:
error: namespace "std" has no member "_isnan"
Compilers & Libraries (please complete the following information):
Following cmake configuration output:
configuration.txt
Start of CMakeError.log looks like this:
So maybe this is just an error in cmake (I'll try to update the next days if this is not a known bug. The test for std::isnan though suggests, that there might be known problems related).
Additional context
I had a couple of issues building dependencies, maybe that's conncted or maybe that's just due to me using a compiler nobody else tested?
The text was updated successfully, but these errors were encountered: