YSI-Includes icon indicating copy to clipboard operation
YSI-Includes copied to clipboard

[5.1] error 017: undefined symbol "YSI_g_sReturnText"

Open ghost opened this issue 6 years ago • 3 comments

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?

ghost avatar Mar 11 '20 21:03 ghost

Seems like y_text's dialog function is broken.

ghost avatar Mar 11 '20 22:03 ghost

Are those warnings all in YSI itself, or some in your code? The new warnings were added for better type checking.

Y-Less avatar Mar 12 '20 11:03 Y-Less

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.

ghost avatar Mar 13 '20 11:03 ghost