Problem: MS-Windows: executable contains unreferenced functions and data.
Solution: Add /opt:ref to the compiler command. (Ken Takata)
# CFLAGS with /Fo$(OUTDIR)/
CFLAGS_OUTDIR=$(CFLAGS) /Fo$(OUTDIR)/
-conflags = /nologo /subsystem:$(SUBSYSTEM)
+# Add /opt:ref to remove unreferenced functions and data even when /DEBUG is
+# added.
+conflags = /nologo /subsystem:$(SUBSYSTEM) /opt:ref
PATHDEF_SRC = $(OUTDIR)\pathdef.c
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1646,
/**/
1645,
/**/