[llvm-dev] Which compiler collection on Windows? (original) (raw)
Paul C. Anagnostopoulos via llvm-dev llvm-dev at lists.llvm.org
Fri Jul 31 06:32:32 PDT 2020
- Previous message: [llvm-dev] The WorkList of LLVMContextImpl::dropTriviallyDeadConstantArrays
- Next message: [llvm-dev] Which compiler collection on Windows?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 shows that localtime_s is a Microsoft extension and is not included with MinGW. From this I cleverly infer that I should have installed a different compiler collection. Can anyone give me a hint?
- Previous message: [llvm-dev] The WorkList of LLVMContextImpl::dropTriviallyDeadConstantArrays
- Next message: [llvm-dev] Which compiler collection on Windows?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]