From: Václav Slavík Date: Sat, 4 Jan 2003 13:29:36 +0000 (+0000) Subject: gcc has __attribute__((deprecated)) since version 3.1 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7071c928178c97069bb7af4574d5479486434f68?ds=inline 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 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index d86fbe57bb..261360c6f3 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -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