diff -Naur wxPython-src-3.0.2.0/include/wx/build.h wxPython-src-3.0.2.0_patched/include/wx/build.h --- wxPython-src-3.0.2.0/include/wx/build.h 2014-10-08 20:51:06.000000000 +0400 +++ wxPython-src-3.0.2.0_patched/include/wx/build.h 2017-07-03 23:13:30.899868233 +0300 @@ -52,8 +52,13 @@ // GCC and Intel C++ share same C++ ABI (and possibly others in the future), // check if compiler versions are compatible: #if defined(__GXX_ABI_VERSION) + #if ((__GXX_ABI_VERSION >= 1002) && (__GXX_ABI_VERSION <=1011)) + #define wxGXX_EFFECTIVE_ABI_VERSION 1002 + #else + #define wxGXX_EFFECTIVE_ABI_VERSION __GXX_ABI_VERSION + #endif #define __WX_BO_COMPILER \ - ",compiler with C++ ABI " __WX_BO_STRINGIZE(__GXX_ABI_VERSION) + ",compiler with C++ ABI " __WX_BO_STRINGIZE(wxGXX_EFFECTIVE_ABI_VERSION) #elif defined(__GNUG__) #define __WX_BO_COMPILER ",GCC " \ __WX_BO_STRINGIZE(__GNUC__) "." __WX_BO_STRINGIZE(__GNUC_MINOR__)