Define AVS_COMMONS_WITH_POISONING

Define Documentation

AVS_COMMONS_WITH_POISONING

Enable poisoning of unwanted symbols when compiling avs_commons.

Requires a compiler that supports #pragma GCC poison.

This is mostly useful during development, to ensure that avs_commons do not attempt to call functions considered harmful in this library, such as printf. This is not guaranteed to work as intended on every platform, e.g. on macOS it is known to generate false positives due to different dependencies between system headers.