mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-21 04:35:23 +08:00
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:
@@ -20,6 +20,8 @@ LIBS = mmpm2.lib libuls.lib libconv.lib $(LIBM)
|
|||||||
CFLAGS = -bt=os2 -d0 -q -bm -5s -fp5 -fpi87 -sg -oteanbmier -ei
|
CFLAGS = -bt=os2 -d0 -q -bm -5s -fp5 -fpi87 -sg -oteanbmier -ei
|
||||||
# max warnings:
|
# max warnings:
|
||||||
CFLAGS+= -wx
|
CFLAGS+= -wx
|
||||||
|
# newer OpenWatcom versions enable W303 by default
|
||||||
|
CFLAGS+= -wcd=303
|
||||||
# building dll:
|
# building dll:
|
||||||
CFLAGS+= -bd
|
CFLAGS+= -bd
|
||||||
# the include paths :
|
# the include paths :
|
||||||
|
|||||||
Reference in New Issue
Block a user