From 5610e5ae48a8757b34b179dfb2d0fb04cc659739 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Tue, 8 Dec 2020 00:11:10 +0300 Subject: [PATCH] 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. --- Makefile.os2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.os2 b/Makefile.os2 index 659d59f40..f7b5005e5 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 :