]> git.saurik.com Git - wxWidgets.git/commitdiff
check for WXWIN_COMPATIBLITY settings, they affect binary compatibility
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 17 Aug 2003 10:30:46 +0000 (10:30 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 17 Aug 2003 10:30:46 +0000 (10:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/build.h

index 3e7ea2219ac61b8d578e600e71ce7faa28acfba3..7d2573d28a00458fa67bc348e01760f5ea70bb59 100644 (file)
 #else
     #define __WX_BO_COMPILER
 #endif
+
+// WXWIN_COMPATIBILITY macros affect presence of virtual functions
+#if WXWIN_COMPATIBILITY
+    #define __WX_BO_WXWIN_COMPAT_1_68 ",compatible with 1.68"
+#else
+    #define __WX_BO_WXWIN_COMPAT_1_68
+#endif
+#if WXWIN_COMPATIBILITY_2
+    #define __WX_BO_WXWIN_COMPAT_2_0 ",compatible with 2.0"
+#else
+    #define __WX_BO_WXWIN_COMPAT_2_0
+#endif
+#if WXWIN_COMPATIBILITY_2_2
+    #define __WX_BO_WXWIN_COMPAT_2_2 ",compatible with 2.2"
+#else
+    #define __WX_BO_WXWIN_COMPAT_2_2
+#endif
+#if WXWIN_COMPATIBILITY_2_4
+    #define __WX_BO_WXWIN_COMPAT_2_4 ",compatible with 2.4"
+#else
+    #define __WX_BO_WXWIN_COMPAT_2_4
+#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 ")"
+    " (" __WX_BO_DEBUG "," __WX_BO_UNICODE \
+     __WX_BO_COMPILER \
+     __WX_BO_WXWIN_COMPAT_1_68 __WX_BO_WXWIN_COMPAT_2_0 \
+     __WX_BO_WXWIN_COMPAT_2_2 __WX_BO_WXWIN_COMPAT_2_4 \
+     ")"