Closed Adib23704 closed 10 months ago
DEBUG_CODE
's should only be declared if the #define DEBUG
is addedI converted nothing. GitHub did it :/
On Sat, Dec 2, 2023, 8:07 PM Nexius @.***> wrote:
- This doesn't fix const problem as with your changes it now wont compile on default samp compiler & includes.
- You broke ru and by lang files by converting it to UTF-8, it's not supported in samp
- DEBUG_CODEs should only be declared if the #define DEBUG is added
— Reply to this email directly, view it on GitHub https://github.com/NexiusTailer/Nex-AC/pull/298#issuecomment-1837156806, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALM5OH2XHUE5QHZFPP6JS6TYHMYZRAVCNFSM6AAAAABAD37J66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGE2TMOBQGY . You are receiving this because you authored the thread.Message ID: @.***>
Ok, still 1 and 3 are valid
I mean when I was compiling it showed me undefined symbol DEBUG_CODE_1. I had to comment out #if defined DEBUG condition to get out of this error. (Same for other DEBUG_CODE vars)
For number 1, I don't know. Maybe you can check it out
On Sat, Dec 2, 2023, 8:09 PM Nexius @.***> wrote:
Ok, still 1 and 3 are valid
— Reply to this email directly, view it on GitHub https://github.com/NexiusTailer/Nex-AC/pull/298#issuecomment-1837157398, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALM5OH27ZZGPFWQKNEPAFGTYHMZDFAVCNFSM6AAAAABAD37J66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGE2TOMZZHA . You are receiving this because you authored the thread.Message ID: @.***>
I mean when I was compiling it showed me undefined symbol DEBUG_CODE_1. I had to comment out #if defined DEBUG condition to get out of this error. (Same for other DEBUG_CODE vars)
So you probably manually included lang file without adding #define DEBUG
as readme says.
For number 1, I don't know. Maybe you can check it out
Yes I've already checked it and it's not the solution. Solution is to be in line with default samp includes and don't change it with breaking changes like samp-stdlib does.
Fixes are done because of the latest Community Compiler enforces the usage of
const
as well as it triggerserror 017: undefined symbol "DEBUG_CODE_1"