The branch main has been updated by emaste:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=e92d69234579395a79807fe303a75ba3c614c90f

commit e92d69234579395a79807fe303a75ba3c614c90f
Author:     Ed Maste <[email protected]>
AuthorDate: 2022-11-29 19:41:08 +0000
Commit:     Ed Maste <[email protected]>
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

Reply via email to