Displaying 5 results from an estimated 5 matches for "ourtim".
Did you mean:
ourtime
2004 Dec 14
1
[LLVMdev] __time_t type instead of __time64_t inwin32/TimeValue.cpp
Replace __time_t with time_t in my question. I've compiled function:
std::string TimeValue::toString() const {
// Alas, asctime is not re-entrant on Windows...
//hb: __time64_t ourTime = this->toEpochTime();
time_t ourTime = this->toEpochTime();
//hb: char* buffer = ::asctime(::_localtime64(&ourTime));
char* buffer = ::asctime(::localtime(&ourTime));
std::string result(buffer);
return result.substr(0,24);
}
without any complaints. Shouldn't it do wit...
2015 Jun 10
2
[LLVMdev] Self-compiling clang on Windows
...quite make
sense of:
In file included from C:\llvm2\lib\Support\TimeValue.cpp:55:
C:\llvm2\lib\Support/Windows/TimeValue.inc(48,7): warning : unused variable
'Error' [-Wunused-variable] [C:\llvm2\build\lib\Support\LLVMSupport.vcxproj]
CL : int error =: :_localtime64_s(&Storage, &OurTime);
[C:\llvm2\build\lib\Support\LLVMSupport.vcxproj]
^
1 warning generated.
The command exited with code -1.
Done executing task "CL" -- FAILED.
Done building target "ClCompile" in project "LLVMSupport.vcxproj" -- FAILED.
Done Building Project "C:\llvm2...
2020 Jul 31
3
Which compiler collection on Windows?
...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 hav...
2004 Dec 14
0
[LLVMdev] __time_t type instead of __time64_t in win32/TimeValue.cpp
I'm not sure. Perhaps Jeff Cohen knows as he wrote this.
Reid.
On Tue, 2004-12-14 at 11:51, Henrik Bach wrote:
> Hi,
>
> Is it necessary to use the VC6.1+ `__time64_t' type instead of __time_t in
> win32/TimeValue.cpp?
>
> ---------------
> In file included from
> c:/projects/src/llvm-1/llvm/lib/System/TimeValue.cpp:51:
>
2004 Dec 14
2
[LLVMdev] __time_t type instead of __time64_t in win32/TimeValue.cpp
Hi,
Is it necessary to use the VC6.1+ `__time64_t' type instead of __time_t in
win32/TimeValue.cpp?
---------------
In file included from
c:/projects/src/llvm-1/llvm/lib/System/TimeValue.cpp:51:
c:/projects/build/MinGW/llvm-1-1/lib/System/platform/TimeValue.cpp: In
member function `std::string llvm::sys::TimeValue::toString() const':