-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for Linux compilation #25
base: main
Are you sure you want to change the base?
Conversation
Regarding the last warning:
|
Ok, I can live with one warning:) |
Speaking of fixing warnings, it would be good to remove a trailing comma in amx.h at the end of the AMX_ERR_* enumeration. Line 380 in e46e3ba
Because of that comma both g++ and clang++ show the following message:
This message can be duplicated in a build log a lot of times since it's shown for every *.cpp file where amx.h is #included. |
Updated with latest changes. |
thanks ziggi, the patches fixed the compilation errors I was getting |
I have some errors and warnings when I compile pawn. And I tried to fix that. I know that it may contain some bugs because I'm not a C programmer, but it's better than nothing.
CMake log
Make log
Compiler log after changes
We still have:
CMakeFiles/pawncc.dir/sc1.c.o: In function
pc_compile':sc1.c:(.text+0x87f): warning: the use of
tempnam' is dangerous, better use
mkstemp'`but I don't know how to fix this properly.