IDA C++ SDK 9.2
Loading...
Searching...
No Matches
allow_deprecated.hpp
Go to the documentation of this file.
1// this file should be included before calling deprecated functions
2// it should be included at the point where the definitions of deprecated
3// functions begin in the source file. this way a deprecated function may call
4// another deprecated function without raising a warning.
5
6// deprecated functions may call each other
7#ifdef _MSC_VER
8#pragma warning(disable:4996)
9#endif
10#ifdef __GNUC__
11#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
12#endif