- // version: we don't test the micro version as hopefully changes
- // between 2 micro versions don't result in fatal compatibility
- // problems
- m_verMaj = wxMAJOR_VERSION;
- m_verMin = wxMINOR_VERSION;
- }
+// GCC and Intel C++ share same C++ ABI, check if compiler versions are
+// compatible:
+#if (defined(__GNUG__) || defined(__INTEL_COMPILER) && \
+ defined(__GXX_ABI_VERSION))
+ #define __WX_BO_COMPILER \
+ ",compiler with C++ ABI " __WX_BO_STRINGIZE(__GXX_ABI_VERSION)
+#else
+ #define __WX_BO_COMPILER
+#endif
+
+// This macro is passed as argument to wxConsoleApp::CheckBuildOptions()
+#define WX_BUILD_OPTIONS_SIGNATURE \
+ __WX_BO_VERSION(wxMAJOR_VERSION, wxMINOR_VERSION, wxRELEASE_NUMBER) \
+ " (" __WX_BO_DEBUG "," __WX_BO_UNICODE __WX_BO_COMPILER ")"