Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Dec 2022 23:53:08 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: e92d69234579 - main - libpmc: remove unused auto_ptr warning suppression
Message-ID:  <202212022353.2B2Nr8mP031704@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212022353.2B2Nr8mP031704>