From 999b96a4f9703ef022077b91c148a671fa2c46c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Thu, 31 Mar 2005 16:37:48 +0000 Subject: [PATCH] if(){} and while(){} sometimes is not allowed for inlining (borland warning fix). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/build/stc/makefile.bcc | 6 +++--- contrib/build/stc/stc.bkl | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/contrib/build/stc/makefile.bcc b/contrib/build/stc/makefile.bcc index 620be1926a..1abc300666 100644 --- a/contrib/build/stc/makefile.bcc +++ b/contrib/build/stc/makefile.bcc @@ -34,7 +34,7 @@ STCDLL_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \ -I..\..\src\stc\..\..\..\include -I$(SETUPHDIR) \ -I..\..\src\stc\..\..\include -I..\..\src\stc\scintilla\include \ - -I..\..\src\stc\scintilla\src -D__WX__ -DSCI_LEXER -DLINK_LEXERS \ + -I..\..\src\stc\scintilla\src -D__WX__ -DSCI_LEXER -DLINK_LEXERS -w-8027 \ -DWXUSINGDLL -DWXMAKINGDLL_STC $(CPPFLAGS) $(CXXFLAGS) STCDLL_OBJECTS = \ $(OBJS)\stcdll_PlatWX.obj \ @@ -114,8 +114,8 @@ STCLIB_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \ $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) \ -I..\..\src\stc\..\..\..\include -I$(SETUPHDIR) \ -I..\..\src\stc\..\..\include -I..\..\src\stc\scintilla\include \ - -I..\..\src\stc\scintilla\src -D__WX__ -DSCI_LEXER -DLINK_LEXERS $(CPPFLAGS) \ - $(CXXFLAGS) + -I..\..\src\stc\scintilla\src -D__WX__ -DSCI_LEXER -DLINK_LEXERS -w-8027 \ + $(CPPFLAGS) $(CXXFLAGS) STCLIB_OBJECTS = \ $(OBJS)\stclib_PlatWX.obj \ $(OBJS)\stclib_ScintillaWX.obj \ diff --git a/contrib/build/stc/stc.bkl b/contrib/build/stc/stc.bkl index 7ec877db25..0e1fe5abbe 100644 --- a/contrib/build/stc/stc.bkl +++ b/contrib/build/stc/stc.bkl @@ -95,6 +95,7 @@ SCI_LEXER LINK_LEXERS $(STC_SRC) + -w-8027 @@ -105,7 +106,7 @@ - + stc=stclib+stcdll