Page 1 of 1

error: invalid suffix "i64" on integer constant

Posted: Thu Nov 07, 2013 10:12 am
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?

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

Posted: Fri Nov 08, 2013 4:34 am
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