From owner-svn-src-projects@freebsd.org Sat Sep 14 19:16:30 2019 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 277C8FCAAE for ; Sat, 14 Sep 2019 19:16:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46W2L60DB2z4LCt; Sat, 14 Sep 2019 19:16:30 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C4CA724439; Sat, 14 Sep 2019 19:16:29 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8EJGTeg043635; Sat, 14 Sep 2019 19:16:29 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8EJGSZw043630; Sat, 14 Sep 2019 19:16:28 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201909141916.x8EJGSZw043630@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Sat, 14 Sep 2019 19:16:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r352335 - in projects/clang900-import: lib/atf/libatf-c++ lib/libdevdctl libexec/atf/atf-check libexec/atf/atf-sh share/mk X-SVN-Group: projects X-SVN-Commit-Author: dim X-SVN-Commit-Paths: in projects/clang900-import: lib/atf/libatf-c++ lib/libdevdctl libexec/atf/atf-check libexec/atf/atf-sh share/mk X-SVN-Commit-Revision: 352335 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Sep 2019 19:16:30 -0000 Author: dim Date: Sat Sep 14 19:16:28 2019 New Revision: 352335 URL: https://svnweb.freebsd.org/changeset/base/352335 Log: Instead of disabling gcc's deprecated declaration warnings about e.g. std::auto_ptr in a whole bunch of individual Makefiles, make the warning globally non-fatal instead. This is similar to what was done to many more non-fatal warnings from newer gcc versions. Modified: projects/clang900-import/lib/atf/libatf-c++/Makefile projects/clang900-import/lib/libdevdctl/Makefile projects/clang900-import/libexec/atf/atf-check/Makefile projects/clang900-import/libexec/atf/atf-sh/Makefile projects/clang900-import/share/mk/atf.test.mk projects/clang900-import/share/mk/bsd.sys.mk Modified: projects/clang900-import/lib/atf/libatf-c++/Makefile ============================================================================== --- projects/clang900-import/lib/atf/libatf-c++/Makefile Sat Sep 14 19:16:07 2019 (r352334) +++ projects/clang900-import/lib/atf/libatf-c++/Makefile Sat Sep 14 19:16:28 2019 (r352335) @@ -48,9 +48,6 @@ CFLAGS+= -I. CFLAGS+= -DHAVE_CONFIG_H -# Silence warnings about std::auto_ptr usage -CWARNFLAGS+= -Wno-deprecated-declarations - SRCS= application.cpp \ build.cpp \ check.cpp \ Modified: projects/clang900-import/lib/libdevdctl/Makefile ============================================================================== --- projects/clang900-import/lib/libdevdctl/Makefile Sat Sep 14 19:16:07 2019 (r352334) +++ projects/clang900-import/lib/libdevdctl/Makefile Sat Sep 14 19:16:28 2019 (r352335) @@ -18,8 +18,4 @@ WARNS?= 3 PRIVATELIB= true SHLIB_MAJOR= 0 -# Silence gcc warnings about deprecated std::auto_ptr, and various function -# objects from . -CWARNFLAGS+= -Wno-deprecated-declarations - .include Modified: projects/clang900-import/libexec/atf/atf-check/Makefile ============================================================================== --- projects/clang900-import/libexec/atf/atf-check/Makefile Sat Sep 14 19:16:07 2019 (r352334) +++ projects/clang900-import/libexec/atf/atf-check/Makefile Sat Sep 14 19:16:28 2019 (r352335) @@ -38,9 +38,6 @@ MAN= atf-check.1 CFLAGS+= -I${ATF} CFLAGS+= -DATF_SHELL='"/bin/sh"' -# Silence warnings about std::auto_ptr usage -CWARNFLAGS+= -Wno-deprecated-declarations - LIBADD= atf_cxx HAS_TESTS= Modified: projects/clang900-import/libexec/atf/atf-sh/Makefile ============================================================================== --- projects/clang900-import/libexec/atf/atf-sh/Makefile Sat Sep 14 19:16:07 2019 (r352334) +++ projects/clang900-import/libexec/atf/atf-sh/Makefile Sat Sep 14 19:16:28 2019 (r352335) @@ -65,9 +65,6 @@ CFLAGS+= -DATF_PKGDATADIR='"${SHAREDIR}/atf"' CFLAGS+= -DATF_SHELL='"/bin/sh"' CFLAGS+= -I${ATF} -# Silence warnings about std::auto_ptr usage -CWARNFLAGS+= -Wno-deprecated-declarations - LIBADD= atf_cxx FILESGROUPS= SUBR Modified: projects/clang900-import/share/mk/atf.test.mk ============================================================================== --- projects/clang900-import/share/mk/atf.test.mk Sat Sep 14 19:16:07 2019 (r352334) +++ projects/clang900-import/share/mk/atf.test.mk Sat Sep 14 19:16:28 2019 (r352335) @@ -55,8 +55,6 @@ LDADD.${_T}+= ${LIBATF_CXX} ${LIBATF_C} .endif TEST_INTERFACE.${_T}= atf .endfor -# Silence warnings about std::auto_ptr usage -CWARNFLAGS+= -Wno-deprecated-declarations .endif .if !empty(ATF_TESTS_SH) Modified: projects/clang900-import/share/mk/bsd.sys.mk ============================================================================== --- projects/clang900-import/share/mk/bsd.sys.mk Sat Sep 14 19:16:07 2019 (r352334) +++ projects/clang900-import/share/mk/bsd.sys.mk Sat Sep 14 19:16:28 2019 (r352335) @@ -137,6 +137,7 @@ CWARNFLAGS+= -Wno-error=address \ -Wno-error=bool-compare \ -Wno-error=cast-align \ -Wno-error=clobbered \ + -Wno-error=deprecated-declarations \ -Wno-error=enum-compare \ -Wno-error=extra \ -Wno-error=inline \