pawn-lang / compiler

Pawn compiler for SA-MP with bug fixes and new features - runs on Windows, Linux, macOS
Other
303 stars 70 forks source link

Fix build errors on Linux and OS X #649

Closed Daniel-Cortez closed 2 years ago

Daniel-Cortez commented 3 years ago

What this PR does / why we need it:

Fixes build errors that originate from an incorrect declaration of an array of function pointers (initially I declared it as static const void (*opers[])(void) while I should have used static void (*const opers[])(void) - this was no problem for MSVC and MinGW, but caused errors when building for Linux and OS X with GCC/Clang). Also removed a few excess trailing whitespaces while I was at it.

Which issue(s) this PR fixes:

Fixes #

What kind of pull this is:

Additional Documentation:

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity.

Y-Less commented 2 years ago

Merged locally.