all: fix or silence various gcc warnings

As usual, gcc finds some real problems but also reports a ton
of noise. Fix the problems and quiet the noise.
This commit is contained in:
Russ Cox 2020-01-12 15:05:40 -05:00 committed by Russ Cox
parent fa325e9b42
commit fafa622a5b
17 changed files with 27 additions and 22 deletions

4
bin/9c
View file

@ -14,6 +14,10 @@ usegcc()
-Wno-comment \
-Wno-sign-compare \
-Wno-unknown-pragmas \
-Wno-misleading-indentation \
-Wno-stringop-truncation \
-Wno-stringop-overflow \
-Wno-format-truncation \
-fno-omit-frame-pointer \
-fsigned-char \
"