Commit c83329481760b9f587e2cf3482e8590339852db9

Ozkan Sezer 2022-09-18T17:33:04

tests, watcom: silence lots of W202 warnings from new vulkan headers.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/test/watcom.mif b/test/watcom.mif
index 6ddab0e..2189fd4 100644
--- a/test/watcom.mif
+++ b/test/watcom.mif
@@ -78,6 +78,10 @@ all: testutils.lib $(TARGETS)
   wcc386 $(CFLAGS) -fo=$^@ $<
 
 # specials
+testvulkan.obj: testvulkan.c
+  # new vulkan headers result in lots of W202 warnings
+  wcc386 $(CFLAGS) -wcd=202 -fo=$^@ $<
+
 testautomation.exe: $(TAOBJS)
   wlink SYS $(SYSTEM) libpath $(LIBPATH) lib {$(LIBS)} op q op el file {$<} name $@