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.
This commit is contained in:
Ozkan Sezer 2020-12-08 00:11:10 +03:00
parent c9723c407f
commit 5610e5ae48
1 changed files with 2 additions and 0 deletions

View File

@ -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 :