Format

#pragma compatibility <version>

Hints that the compiler should avoid using features past a certain major BYOND version. If it encounters a situation where you explicitly or implicitly use a newer feature than requested, it will generate a warning.

#pragma compatibility 515

This directive also alters the DM_VERSION macro.

A value of 0 or anything negative will reset the compatibility version to the default.

See also