Compiler Option: -eassert
Enable `assert()` and `assertwarn()` checking
Syntax
`
-eassert
`
Description
The `-eassert` compiler option enables `Assert` and `AssertWarn` code generation.
`-eassert` is automatically implied by the `-g` option.
`__FB_ERR__` can be used to determine in user source code if the `-eassert` option was specified or implied on the command line.
Version

- Since fbc 1.07.0

See also

- `__FB_ERR__`
- `Assert`
- `AssertWarn`
- Compiler Option: -g
- Debugging
- Using the Command Line