diff options
| author | Michael Forney <mforney@mforney.org> | 2016-12-11 14:03:37 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-12-11 14:03:37 -0800 |
| commit | 8895be145b2ea98081455dd27b23b85aa00f6ac5 (patch) | |
| tree | 5eaac6c89904845f01fab2699906ddcb6120e746 | |
| parent | 50f5b78310c78d882c1fe620a3d55c0797c9572f (diff) | |
ubase: Remove -Wextra and disable -Woverflow and -Wmaybe-uninitialized
-Wextra causes a sign-comparison warning for the result of snprintf, -Woverflow
causes warnings for ioctls because musl's ioctl prototype uses int, and
-Wmaybe-uninitialized reports many false positives.
| -rw-r--r-- | core/ubase/gen.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ubase/gen.rc b/core/ubase/gen.rc index 196bbdb2..94c2b2e9 100644 --- a/core/ubase/gen.rc +++ b/core/ubase/gen.rc @@ -1,6 +1,6 @@ cflags\ '-std=c99' -pedantic\ - -Wall -Wextra -Wno-maybe-uninitialized\ + -Wall -Wno-maybe-uninitialized -Wno-overflow\ -D _GNU_SOURCE\ -D '_XOPEN_SOURCE=700' \ -D '_FILE_OFFSET_BITS=64' \ |
