aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2022-11-29 19:41:08 +0000
committerEd Maste <emaste@FreeBSD.org>2022-12-02 23:52:30 +0000
commite92d69234579395a79807fe303a75ba3c614c90f (patch)
tree9e46f504492ae32e30ebc12d2c08d19b56d10072 /lib
parent6ab87ec483e9578823cbc30458f49ab07f51acf8 (diff)
downloadsrc-main.tar.gz
src-main.zip
libpmc: remove unused auto_ptr warning suppressionHEADmain
libpmc used -Wno-deprecated-declarations to silence warnings about usage of deprecated std::auto_ptr, but there is (now) now use of auto_ptr in libpmc. Reviewed by: mhorne Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37576
Diffstat (limited to 'lib')
-rw-r--r--lib/libpmc/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libpmc/Makefile b/lib/libpmc/Makefile
index d33567e5b3f8..81e43b696841 100644
--- a/lib/libpmc/Makefile
+++ b/lib/libpmc/Makefile
@@ -46,9 +46,6 @@ WARNS?= 3
CFLAGS+= -I${.CURDIR} -I${SRCTOP}/sys
CWARNFLAGS.gcc+= -Wno-shadow -Wno-cast-align
-# Silence warnings about usage of deprecated std::auto_ptr
-CXXWARNFLAGS+= -Wno-deprecated-declarations
-
MAN= pmc.3
MAN+= pmc_allocate.3
MAN+= pmc_attach.3