svn commit: r352335 - in projects/clang900-import: lib/atf/libatf-c++ lib/libdevdctl libexec/atf/atf-check libexec/atf/atf-sh share/mk
Dimitry Andric
dim at FreeBSD.org
Sat Sep 14 19:16:30 UTC 2019
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 <functional>.
-CWARNFLAGS+= -Wno-deprecated-declarations
-
.include <bsd.lib.mk>
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 \
More information about the svn-src-projects
mailing list