search for: localtime_s

Displaying 4 results from an estimated 4 matches for "localtime_s".

Did you mean: localtime_r
2020 Jul 31
3
Which compiler collection on Windows?
Now that I can build LLVM on Windows, I tried doing it. -------------------------- ... some good stuff ... C:/LLVM/llvm-project/llvm/lib/Support/Chrono.cpp:35:17: error: '::localtime_s' has not been declared; did you mean 'localtime'? 35 | int Error = ::localtime_s(&Storage, &OurTime); | ^~~~~~~~~~~ | localtime (The error line is preceded by #if defined(_WIN32).) ---------------------------- A little research...
2020 Aug 09
3
Switching to Ninja
...I ask for your indulgence yet again. I installed Ninja and deleted my old build tree. When I run CMake now, I'm told that it can't find the compilers and assembler. So, of course, I need to put a compiler toolset on my path. I tried MinGW but was instantly reminded that it doesn't have localtime_s. So I tried to find the Visual Studio binaries and located four different directories. I added what I thought was the correct one to my path. CMake found the compiler, but it failed to compile CMake's test. Is anyone running Ninja with Visual Studio who might have a suggestion? I can't fin...
2020 Aug 09
4
Switching to Ninja
...dulgence yet again. >> >> I installed Ninja and deleted my old build tree. When I run CMake now, I'm told that it can't find the compilers and assembler. So, of course, I need to put a compiler toolset on my path. I tried MinGW but was instantly reminded that it doesn't have localtime_s. So I tried to find the Visual Studio binaries and located four different directories. I added what I thought was the correct one to my path. CMake found the compiler, but it failed to compile CMake's test. > >I /think/ you're probably best using a Visual Studio shell - I /think/ >...
2020 Aug 08
5
Switching to Ninja
I built my first submission with Visual Studio, but everything I read and watch suggests Ninja, about which I know nothing. Is it okay if I rerun CMake with -G "Ninja" in the same build directory, then just run ninja?