error: invalid suffix "i64" on integer constant

CodeLite installation/troubleshooting forum
borodadada
CodeLite Enthusiast
Posts: 22
Joined: Wed Oct 16, 2013 4:20 pm
Genuine User: Yes
IDE Question: c++
Contact:

error: invalid suffix "i64" on integer constant

Post by borodadada »

./pluginterfaces/base/ftypes.h:82:33: error: invalid suffix "i64" on integer constant

Code: Select all

	static const int64 kMaxInt64 = 9223372036854775807i64;
	static const int64 kMinInt64 = (-9223372036854775807i64 - 1);
When compiling an error, I suggested that we need 64-bit version, what to do?
Gibbon1
CodeLite Expert
Posts: 167
Joined: Fri Jul 22, 2011 5:32 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: error: invalid suffix "i64" on integer constant

Post by Gibbon1 »

Um... google says to me that i64 is a Microsoft specific suffix which gcc does not understand.

From here, says replace with LL

http://stackoverflow.com/questions/9606 ... egers-in-c
Post Reply