U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » Problem DUMP INT64_MIN
Problem DUMP INT64_MIN [message #62038] Thu, 23 July 2026 09:36 Go to next message
DiaosLu
Messages: 2
Registered: July 2026
Junior Member
here is my code
int32 a = INT_MAX;
int32 b = INT_MIN;
	
int64 x = INT64_MAX;
int64 y = INT64_MIN;
	
DUMP(a);
DUMP(b);
DUMP(x);
DUMP(y);
a, b, x are dumped successfully, but y dumped nothing. LOG() method has the same result. what's wrong?
Re: Problem DUMP INT64_MIN [message #62039 is a reply to message #62038] Fri, 24 July 2026 12:22 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3461
Registered: August 2008
Senior Veteran
Hi DiaosLu

The reason of that is that in Core/Defs.h, INT64_NULL = INT64_MIN, so an empty String is printed.
b does not have the same problem, because the int32 is considered a long, and before printing it is casted to int64.


Best regards
IƱaki

[Updated on: Fri, 24 July 2026 12:26]

Report message to a moderator

Re: Problem DUMP INT64_MIN [message #62043 is a reply to message #62039] Mon, 27 July 2026 11:38 Go to previous message
DiaosLu
Messages: 2
Registered: July 2026
Junior Member
Got it, thank you!
Previous Topic: Arch Linux install ?
Next Topic: New system of feature requests on our forums- please read and use!
Goto Forum:
  


Current Time: Thu Jul 30 23:03:19 GMT+2 2026

Total time taken to generate the page: 0.00652 seconds