From bc64ae7d0d49fe6f92d876de3a51abc07e4e27fe Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 16 Dec 2021 07:00:24 +0300
Subject: [PATCH] ignore 'W201: Unreachable code' warnings in os/2 builds.
---
Makefile.os2 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Makefile.os2 b/Makefile.os2
index 3936feb..7a1bb59 100644
--- a/Makefile.os2
+++ b/Makefile.os2
@@ -34,6 +34,8 @@ CFLAGS =$(CFLAGS_BASE)
CFLAGS+= -bd
# for DECLSPEC:
CFLAGS+= -DBUILD_SDL
+# ignore many 'W201: Unreachable code' warnings:
+CFLAGS+= -wcd=201
all: $(LIBFILE) showfont.exe