-
Notifications
You must be signed in to change notification settings - Fork 72
Compatibility mode
Zeex edited this page Apr 2, 2015
·
5 revisions
One of the features added in this compiler is a so called compatibility mode. When running in this mode, the compiler will aim for best compatibility with the official SA-MP compiler, even on Linux.
You can enable compatibility mode by passing -Z
to pawncc at the command line or by adding #pragma compat 1
to your script.
Things that are different in compatibility mode:
- Automatic
#include
guards are enabled:_inc_filename
symbols will be generated as usual. - Windows path separators (
\
) in#include
directives are converted to native path separators on non-Windows platforms. On Linux they correspond to/
.