[5.1] error 017: undefined symbol "YSI_g_sReturnText"
Tried updating from YSI 4.1 (I think) to 5.1 and got this error:
error 017: undefined symbol "YSI_g_sReturnText"
And those:
warning 234: function is deprecated (symbol "Callback_Get_") Remove or use Indirect_Claim(func);. error 017: undefined symbol "Dialog_SetCallbackData" error 017: undefined symbol "Dialog_Garbage"
This warning as well while using y_dialog and y_inline together:
warning 213: tag mismatch: expected tag "F@_@", but found "F@_@iiiis"
Any ideas?
Seems like y_text's dialog function is broken.
Are those warnings all in YSI itself, or some in your code? The new warnings were added for better type checking.
The error for "YSI_g_sReturnText" is related to YSI itself, you can find that in "YSI_Players\y_text\y_text_impl.inc".
warning 213: tag mismatch: expected tag "F@_@", but found "F@_@iiiis"
warning 234: function is deprecated (symbol "Callback_Get_") Remove or use Indirect_Claim(func);. error 017: undefined symbol "Dialog_SetCallbackData" error 017: undefined symbol "Dialog_Garbage"
Those warnings are related to y_text dialog function not using the new y_dialog API which is fixed in https://github.com/pawn-lang/YSI-Includes/pull/362
There are also some errors coming out of y_text's Text_Send related to y_text itself and commenting affected lines fixes compiler errors. I also got some error when using SetColour which was related to YHash as far as I remember.