]> git.saurik.com Git - wxWidgets.git/commitdiff
supress bcc warnings in new zlib
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 26 Apr 2004 09:58:00 +0000 (09:58 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 26 Apr 2004 09:58:00 +0000 (09:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/zlib.bkl
build/msw/makefile.bcc

index feb22229934be613c3490a67173dcba6f7649535..73850d936a8b1530e4039761689402d3cb296430 100644 (file)
@@ -17,7 +17,9 @@
     <lib id="wxzlib" template="3rdparty_lib"
          cond="wxUSE_ZLIB=='builtin' and BUILDING_LIB=='1'">
         <dirname>$(LIBDIRNAME)</dirname>
-        <cflags-borland>-w-8004 -w-8012 -w-8057</cflags-borland> 
+        <cflags-borland>
+            -w-8004 -w-8008 -w-8012 -w-8057 -w-8066
+        </cflags-borland> 
         <if cond="FORMAT=='msevc4prj'">
             <define>NO_ERRNO_H</define>
         </if>
index d0cd9600517b09a2a9fd77a1b20353937dad07f6..e7d92f78ceedccb7443bb71fae74f39d164dc386 100644 (file)
@@ -44,7 +44,8 @@ WXREGEX_OBJECTS =  \
        $(OBJS)\wxregex_regerror.obj \
        $(OBJS)\wxregex_regfree.obj
 WXZLIB_CFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
-       $(__OPTIMIZEFLAG) -tWM -w-8004 -w-8012 -w-8057 $(CPPFLAGS) $(CFLAGS)
+       $(__OPTIMIZEFLAG) -tWM -w-8004 -w-8008 -w-8012 -w-8057 -w-8066 $(CPPFLAGS) \
+       $(CFLAGS)
 WXZLIB_OBJECTS =  \
        $(OBJS)\wxzlib_adler32.obj \
        $(OBJS)\wxzlib_compress.obj \