Skip to content

pragma compiler_supports

IsaacShelton edited this page Mar 21, 2022 · 1 revision

pragma compiler_supports

pragma compiler_supports is a pragma directive that's used to ensure that a particular version of Adept is supported by the current compiler.

pragma compiler_supports '2.5'

Versions are indicated by string literals.

Difference from 'pragma compiler_version'

compiler_supports should only be used by ​libraries​. Use compiler_version​ instead when targeting which version of Adept to use for the entire project.

Clone this wiki locally