]> git.saurik.com Git - wxWidgets.git/commitdiff
if(){} and while(){} sometimes is not allowed for inlining (borland warning fix).
authorWłodzimierz Skiba <abx@abx.art.pl>
Thu, 31 Mar 2005 16:37:48 +0000 (16:37 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Thu, 31 Mar 2005 16:37:48 +0000 (16:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/build/stc/makefile.bcc
contrib/build/stc/stc.bkl

index 620be1926a19338d372f4082ab9172f0e8f7a352..1abc300666fd523e1b43bc86ef165a4aaf44bcf2 100644 (file)
@@ -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 \
index 7ec877db25d61b2fe79252b152c9eb6de7be3386..0e1fe5abbed56d276780d608530a88f93448205e 100644 (file)
@@ -95,6 +95,7 @@
         <define>SCI_LEXER</define>
         <define>LINK_LEXERS</define>
         <sources>$(STC_SRC)</sources>
+        <cppflags-borland>-w-8027</cppflags-borland>
     </template>
 
     <dll id="stcdll" template="wx_contrib_dll,stc_base" cond="SHARED=='1'">
     </dll>
 
     <lib id="stclib" template="wx_contrib_lib,stc_base" cond="SHARED=='0'"/>
-    
+
     <set var="MSVC6PRJ_MERGED_TARGETS" append="1">stc=stclib+stcdll</set>
 
 </makefile>