]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove old pragmas for avoiding warnings with Open Watcom. They are not working with...
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 12 Oct 2004 16:58:44 +0000 (16:58 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 12 Oct 2004 16:58:44 +0000 (16:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/common.bkl
include/wx/defs.h

index cc7ec00bbb2749294995a547c9f953fad6479573..901b2039534baa9c8d7c30b3c2251773e86d7500 100644 (file)
@@ -355,6 +355,7 @@ $(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
         <lib-path>$(LIBDIRNAME)</lib-path>        
         <include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
         <warnings>max</warnings>
+        <cppflags-watcom>-wcd=549</cppflags-watcom>
     </template>
 
     <!-- for both GUI and wxBase libs/samples: -->
index ea656185723e6d77b921ebd15286c7dc74c6e964..fb6d8b018cb443f5ff79eaeedefadadca0ad1156 100644 (file)
 #endif
 #endif /*  __VISUALC__ */
 
-/*  suppress some Watcom C++ warnings */
-#ifdef __WATCOMC__
-#   pragma warning 849 9            /*  Disable 'virtual function hidden' */
-#   pragma warning 549 9            /*  Disable 'operand contains compiler generated information' */
-#endif /*  __VISUALC__ */
-
 /*  suppress some Salford C++ warnings */
 #ifdef __SALFORDC__
 #   pragma suppress 353             /*  Possible nested comments */