Browse Source

Makefile.os2: disable W303 (add -wcd=303 to CFLAGS)

newer OpenWatcom versions enable W303 by default.  without this, we get
multiple "Parameter '%s' has been defined, but not referenced" warnings.
Ozkan Sezer 4 years ago
parent
commit
5610e5ae48
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Makefile.os2

+ 2 - 0
Makefile.os2

@@ -20,6 +20,8 @@ LIBS = mmpm2.lib libuls.lib libconv.lib $(LIBM)
 CFLAGS = -bt=os2 -d0 -q -bm -5s -fp5 -fpi87 -sg -oteanbmier -ei
 # max warnings:
 CFLAGS+= -wx
+# newer OpenWatcom versions enable W303 by default
+CFLAGS+= -wcd=303
 # building dll:
 CFLAGS+= -bd
 # the include paths :