]> git.saurik.com Git - wxWidgets.git/commitdiff
tell user to define _USE_OLD_RW_STL for BC5.6 instead of refusing to compile with...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Feb 2008 13:44:55 +0000 (13:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Feb 2008 13:44:55 +0000 (13:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/platform.h

index 35497c53edbb90a91da1b2137db7b59771a22661..7750a3af7819196a137fb3bf3b6130e744999a5d 100644 (file)
 #endif
 
 
-/* test for old versions of Borland C, normally need at least 5.82, Turbo explorer, 
-   available for free at http://www.turboexplorer.com/downloads 
+/*
+   test for old versions of Borland C, normally need at least 5.82, Turbo
+   explorer, available for free at http://www.turboexplorer.com/downloads 
 */
 #if defined(__BORLANDC__) && (__BORLANDC__ < 0x550)
-#error "This version of wxWidgets requires a newer version of Borland - we recommend 5.82 (Turbo Explorer); You may at your own risk remove this line and try your system"
+#   error "wxWidgets requires a newer version of Borland, we recommend upgrading to 5.82 (Turbo Explorer). You may at your own risk remove this line and try building but be prepared to get build errors."
 #endif /* __BORLANDC__ */
 
 #if defined(__BORLANDC__) && (__BORLANDC__ < 0x582) && (__BORLANDC__ > 0x559)
-#error "This version of wxWidgets has problems with Borland 5.6; we recommend getting Borland 5.82 (Turbo Explorer); You may at your own risk remove this line and try your system"
+#   ifndef _USE_OLD_RW_STL
+#       error "wxWidgets is incompatible with default Borland C++ 5.6 STL library, please add -D_USE_OLD_RW_STL to your bcc32.cfg to use RogueWave STL implementation."
+#   endif
 #endif /* __BORLANDC__ */