[LLVMdev] INT64_MIN

Paolo Invernizzi arathorn at fastwebnet.it
Wed Sep 29 02:10:08 PDT 2004


We need to define also INT64_MIN along with INT64_MAX

llvm\lib\System\TimeValue.cpp(19) : error C2065: 'INT64_MIN' : 
undeclared identifier

I've attached a patch that define it right after the INT64_MAX, but I 
think it's a better solution to define both in the specific #ifdef part 
for VC in the same file, right after

#define INT32_MIN -2147483648
#define UINT32_MAX 4294967295U

If you are wondering WHY I used  -0x8000000000000000 instead of  
ñ9223372036854775808LL, well, with the latter I have:

llvm\include\llvm\Support\DataTypes.h(83) : error C2018: unknown 
character '0x96'

---
Paolo Invernizzi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs.txt
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040929/9ade4b74/attachment.txt>


More information about the llvm-dev mailing list