From 35838d4afd45ad8c7432820607c6f843f7629c24 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 26 Jun 2011 18:13:58 -0700 Subject: [PATCH] Add undocumented command-line option to enable partial C99 support. --- src/microcode/ntutl/makefile.wcc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/microcode/ntutl/makefile.wcc b/src/microcode/ntutl/makefile.wcc index 6247fdea0..fd65822b5 100644 --- a/src/microcode/ntutl/makefile.wcc +++ b/src/microcode/ntutl/makefile.wcc @@ -55,6 +55,7 @@ AS = wasm # /ox enable various optimizations [OPTIMIZE] # /s remove stack overflow checks # /w1 set warning-message level +# /za99 undocumented option to enable partial C99 support # /zc place literal strings in code segment # /ze enable language extensions (default) # /zp4 use 4-byte alignment (required for MS compatibility) @@ -62,11 +63,12 @@ AS = wasm # # /DMIT_SCHEME required to specialize some code # /DGUI configure a console window +# /DHAVE_CONFIG_H we have config.h # omitted: /DNO_CONST /Di386 # # For debugging, uncomment next line and comment one following. #UTIL_CFLAGS = /6r /d2 /ei /op /s /w1 /zc /zp4 /zq -UTIL_CFLAGS = /6r /d1+ /ei /oe /op /ox /s /w1 /zc /zp4 /zq +UTIL_CFLAGS = /6r /d1+ /ei /oe /op /ox /s /w1 /za99 /zc /zp4 /zq CFLAGS = $(UTIL_CFLAGS) /bm /DMIT_SCHEME /DGUI /DHAVE_CONFIG_H /i=. # Linker options. -- 2.25.1