Explorar o código

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 %!s(int64=4) %!d(string=hai) anos
pai
achega
5610e5ae48
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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 :