svn commit: r335552 - head/usr.bin/top
Eitan Adler
eadler at FreeBSD.org
Fri Jun 22 10:20:22 UTC 2018
Author: eadler
Date: Fri Jun 22 10:20:21 2018
New Revision: 335552
URL: https://svnweb.freebsd.org/changeset/base/335552
Log:
top(1): increase warnings
top(1) now builds without cast-qual warnings, so remove the exemption
for that.
Tested with clang, gcc7, gcc9
Modified:
head/usr.bin/top/Makefile
Modified: head/usr.bin/top/Makefile
==============================================================================
--- head/usr.bin/top/Makefile Fri Jun 22 10:17:12 2018 (r335551)
+++ head/usr.bin/top/Makefile Fri Jun 22 10:20:21 2018 (r335552)
@@ -9,12 +9,12 @@ MAN= top.1
.if ${COMPILER_TYPE} == "gcc"
.if ${COMPILER_VERSION} >= 50000
-CFLAGS.gcc=-Wno-error=cast-qual -Wno-error=discarded-qualifiers -Wno-error=incompatible-pointer-types
+CFLAGS.gcc=-Wno-error=discarded-qualifiers -Wno-error=incompatible-pointer-types
.else #base gcc
NO_WERROR=
.endif
.endif
-CFLAGS.clang=-Wno-error=incompatible-pointer-types-discards-qualifiers -Wno-error=cast-qual
+CFLAGS.clang=-Wno-error=incompatible-pointer-types-discards-qualifiers
LIBADD= ncursesw m kvm jail util sbuf
.include <bsd.prog.mk>
More information about the svn-src-head
mailing list