🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Erroneous warning when using min int64 value

Started by
1 comment, last by WitchLord 9 years, 10 months ago

The following code results in a "Implicit conversion changed sign of value" warning being emitted by the compiler:

int64 test = -9223372036854775808;

According to http://www.angelcode.com/angelscript/sdk/docs/manual/doc_datatypes_primitives.html, that's a legitimate value for an int64 and I see it print correctly using:

print(formatInt(test, ""));

This code does not result in the warning:

int64 test = -9223372036854775807;

UPDATE: Version 2.29.2 WIP - 2014/07/21, rev 1985, 32-bit linux.

Advertisement

Thanks. I'll look into it.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Fixed in revision 1989.

Regards,

Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement