gcc has __attribute__((deprecated)) since version 3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
17e7431567
commit
7071c92817
@ -392,7 +392,7 @@ class WXDLLEXPORT wxEvent;
|
||||
#endif
|
||||
|
||||
// Macro to issue warning when using deprecated functions with gcc3 or MSVC7:
|
||||
#if wxCHECK_GCC_VERSION(3, 0)
|
||||
#if wxCHECK_GCC_VERSION(3, 1)
|
||||
#define wxDEPRECATED(x) x __attribute__ ((deprecated))
|
||||
#elif defined(__VISUALC__) && (__VISUALC__ >= 1300)
|
||||
#define wxDEPRECATED(x) __declspec(deprecated) x
|
||||
|
Loading…
Reference in New Issue
Block a user