-
Notifications
You must be signed in to change notification settings - Fork 85
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
#includeguards are enabled:_inc_filenamesymbols will be generated as usual. - Windows path separators (
\) in#includedirectives are converted to native path separators on non-Windows platforms. On Linux they correspond to/.