git: 52f2b0387712 - main - libdevdctl: update deprecated deprecation warning comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Dec 2022 15:18:46 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=52f2b0387712205309467bf6673b3e0dab8e173c commit 52f2b0387712205309467bf6673b3e0dab8e173c Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2022-11-29 19:44:15 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-12-04 15:17:37 +0000 libdevdctl: update deprecated deprecation warning comment The comment indicated -Wno-deprecated-declarations was used to avoid warnings about deprecated auto_ptr and various deprecated function objects from <functional>. libdevdctl (now) does not use auto_ptr, so don't mention it in the comment. Sponsored by: The FreeBSD Foundation --- lib/libdevdctl/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libdevdctl/Makefile b/lib/libdevdctl/Makefile index 60c59c0ea929..e37c1ce43405 100644 --- a/lib/libdevdctl/Makefile +++ b/lib/libdevdctl/Makefile @@ -18,8 +18,8 @@ WARNS?= 3 PRIVATELIB= true SHLIB_MAJOR= 0 -# Silence warnings about usage of deprecated std::auto_ptr, and various -# deprecated function objects from <functional> +# Silence warnings about usage of various deprecated function objects +# from <functional> CXXWARNFLAGS+= -Wno-deprecated-declarations .include <bsd.lib.mk>