git: e92d69234579 - main - libpmc: remove unused auto_ptr warning suppression
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Dec 2022 23:53:08 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=e92d69234579395a79807fe303a75ba3c614c90f
commit e92d69234579395a79807fe303a75ba3c614c90f
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-11-29 19:41:08 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-12-02 23:52:30 +0000
libpmc: remove unused auto_ptr warning suppression
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
---
lib/libpmc/Makefile | 3 ---
1 file changed, 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