2 warnings generated when using YYC

Posted by phj9894
When I compile the game with YYC, The compiler generates 2 warnings at 2 scripts :

gml_script_Xgms__get_entropy_1 and gml_script_Xgms__get_entropy_2

This issue didn't happen when using previous versions of game maker server.

I haven't find any issues when running my game but I'm afeaid if it actually causes some issues, should I use the previous version instead ?

Replies (3)

Last message on 21 Jul 2020

Size43 (Administrator) on 16 Jul 2020, 15:04:42
What do the warnings say?
phj9894 (Topicstarter) on 17 Jul 2020, 05:14:20
C:/Users/phj98/OneDrive/??/GameMaker/Cache/Xentron Attack/Default/Scripts/gml_Script_XGms__get_entropy_1.gml.cpp:80:45: warning: implicit conversion from 'long long' to 'int' changes value from 281474976705284 to -5372 [-Wconstant-conversion]
YYRValue __arg11631__(YYGML_irandom_range(0,(long long)281474976705284));
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/phj98/OneDrive/??/GameMaker/Cache/Xentron Attack/Default/Scripts/gml_Script_XGms__get_entropy_1.gml.cpp:127:45: warning: implicit conversion from 'long long' to 'int' changes value from 281474976705284 to -5372 [-Wconstant-conversion]
YYRValue __arg11640__(YYGML_irandom_range(0,(long long)281474976705284));
~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~

2 warnings generated.


This is the warning message.
Size43 (Administrator) on 21 Jul 2020, 17:41:10
This is a bug in the YYC. I'll make sure to work around this in a future update, but since I'm not officially supporting the YYC targets I can't make any promises as to when this might happen.