diff options
author | Russ Cox <rsc@swtch.com> | 2012-10-20 13:51:01 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2012-10-20 13:51:01 -0400 |
commit | 34d629c8572518afe0a1d5698d7b184938e35a8f (patch) | |
tree | da6df0241b1b7530c10c03596ce7115b87b3e0c4 /bin/9c | |
parent | caade784874417027ad575c06740ac5f9119b4bb (diff) | |
download | plan9port-34d629c8572518afe0a1d5698d7b184938e35a8f.tar.gz plan9port-34d629c8572518afe0a1d5698d7b184938e35a8f.tar.bz2 plan9port-34d629c8572518afe0a1d5698d7b184938e35a8f.zip |
9c: add more clang warning silencers, use signed chars
R=rsc
http://codereview.appspot.com/6741053
Diffstat (limited to 'bin/9c')
-rwxr-xr-x | bin/9c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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" } |