use at most -O1 with BCC, it is broken and cannot correctly compile this file with -O2

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-02-01 10:40:47 +00:00
parent 594ed110f7
commit 8bcf4c86f4

View File

@@ -22,6 +22,12 @@
#pragma implementation "intl.h"
#endif
#if defined(__BORLAND__) && !defined(__WXDEBUG__)
// There's a bug in Borland's compiler that breaks wxLocale with -O2,
// so make sure that flag is not used for this file:
#pragma option -O1
#endif
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"