Skip to content

Force deprecated

Sometimes, when deprecated stuff are present in lib, we need to ignore deprecation errors.

Example

cpp
#define FKG_FORCED_USAGE 1
#include "some_lib_using_deprecated_stuff.h"
#undef FKG_FORCED_USAGE

References