Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2018 10:20:21 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335552 - head/usr.bin/top
Message-ID:  <201806221020.w5MAKL9L059848@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806221020.w5MAKL9L059848>