git: dba226d43d11 - main - googletest: remove unused auto_ptr warning suppression
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Dec 2022 00:35:17 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=dba226d43d11cd29ab8ee2fd05b1472562ae09f5
commit dba226d43d11cd29ab8ee2fd05b1472562ae09f5
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-11-29 19:38:41 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-12-01 00:34:52 +0000
googletest: remove unused auto_ptr warning suppression
lib/googletest used -Wno-deprecated-declarations to silence warnings
about usage of deprecated std::auto_ptr, but auto_ptr is not (now) used
anywhere in googletest.
Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37561
---
lib/googletest/Makefile.inc | 3 ---
1 file changed, 3 deletions(-)
diff --git a/lib/googletest/Makefile.inc b/lib/googletest/Makefile.inc
index b77322df4ee2..14002f51a4a1 100644
--- a/lib/googletest/Makefile.inc
+++ b/lib/googletest/Makefile.inc
@@ -8,8 +8,5 @@ GOOGLETEST_SRCROOT= ${GTEST_DIR}/googletest
CXXFLAGS+= ${GTESTS_FLAGS}
-# Silence warnings about usage of deprecated std::auto_ptr
-CXXWARNFLAGS+= -Wno-deprecated-declarations
-
# Silence warnings about usage of deprecated implicit copy constructors
CXXWARNFLAGS+= -Wno-deprecated-copy