diff options
author | Ori Bernstein <ori@eigenstate.org> | 2019-06-21 10:00:58 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2019-06-21 10:00:58 -0700 |
commit | d4bc9052beb3305d64a353a16641740380eb87af (patch) | |
tree | e90babcf3b3b295d9ad218cbf8f4e852df7e6d89 /sys/src/ape/config | |
parent | 0af7d1fe35093690f2d8dd0613b3bf3b777674c6 (diff) |
Turn on warnings when building libap.
For ape, we never enabled warnings in cflags.
Turning it on brings up a lot of warnings. Most are noise,
but a few caught unused variables and trunctaions of pointers.
to smaller integers (int, long).
A few warnings remain.
Diffstat (limited to 'sys/src/ape/config')
-rw-r--r-- | sys/src/ape/config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/ape/config b/sys/src/ape/config index ee135fc74..0a370d997 100644 --- a/sys/src/ape/config +++ b/sys/src/ape/config @@ -5,7 +5,7 @@ APEBIN=/$objtype/bin/ape # where installed ape binaries go APELIB=/rc/bin/ape # where helper programs go CC=pcc # compiler (must be ansi) LD=pcc # loader -CFLAGS= # global defaults +CFLAGS=-Fw # global defaults FAMILY=plan9 AR=ar # manipulating libraries RANLIB=echo # for updating libraries |