pBlueG / SA-MP-MySQL

MySQL plugin for San Andreas Multiplayer
BSD 3-Clause "New" or "Revised" License
196 stars 80 forks source link

Upgraded to R41.4 (from 39.6) getting errors and warnings #182

Closed ghost closed 6 years ago

ghost commented 6 years ago

Well, I decided to keep my large gamemode script up to date, so I managed to download and get prepared my script for new include functions, which have changed, all went fine though. The only problem is that I got some weird errors & warning and I have no idea, what can be wrong.

0.3.8\pawno\include\YSI\y_inline.inc(1110) : warning 209: function "Callback_Call" should return a value 0.3.8\pawno\include\a_mysql.inc(33) : error 001: expected token: "-identifier-", but found "-integer value-" 0.3.8\pawno\include\a_mysql.inc(38) : error 010: invalid function or declaration 0.3.8\pawno\include\a_mysql.inc(39) : error 010: invalid function or declaration 0.3.8\pawno\include\a_mysql.inc(144) : error 017: undefined symbol "ERROR"

As I said, I've rechecked all new functions, if I have them written correctly in my gamemode, they should be. Thank you very much. :)

ghost commented 6 years ago

Well, I found it, #define DEBUG was causing these errors from a_mysql. Right now I only got this warning I am using YSI 3

YSI\y_inline.inc(1110) : warning 209: function "Callback_Call" should return a value

ghost commented 6 years ago

Well I did an update to YSI v4 and warning is gone.

maddinat0r commented 6 years ago

So, did you manage to resolve everything? Can I close this now?

ghost commented 6 years ago

Yes I did, thank you for the answer anyway.