From 34d629c8572518afe0a1d5698d7b184938e35a8f Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 20 Oct 2012 13:51:01 -0400 Subject: 9c: add more clang warning silencers, use signed chars R=rsc http://codereview.appspot.com/6741053 --- bin/9c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bin/9c b/bin/9c index 34238e93..4b464dbb 100755 --- a/bin/9c +++ b/bin/9c @@ -15,6 +15,7 @@ usegcc() -Wno-sign-compare \ -Wno-unknown-pragmas \ -fno-omit-frame-pointer \ + -fsigned-char \ " # want to put -fno-optimize-sibling-calls here but # that option only works with gcc3+ it seems @@ -56,11 +57,15 @@ useclang() -O2 \ -c \ -Wall \ - -Wno-comment \ - -Wno-empty-body \ -Wno-parentheses \ + -Wno-missing-braces \ + -Wno-switch \ + -Wno-comment \ + -Wno-sign-compare \ -Wno-unknown-pragmas \ + -Wno-empty-body \ -Wno-unused-value \ + -fsigned-char \ " cflags="$ngflags -g" } -- cgit v1.2.3