Commit 5610e5ae48a8757b34b179dfb2d0fb04cc659739

Ozkan Sezer 2020-12-08T00:11:10

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Makefile.os2 b/Makefile.os2
index 659d59f..f7b5005 100644
--- a/Makefile.os2
+++ b/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 :