public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6614] libstdc++: Ignore deprecated warnings [PR104037]
@ 2022-01-16 20:18 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2022-01-16 20:18 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:bca1c431affee41ecadb7f29d8d65142a73e0ebf
commit r12-6614-gbca1c431affee41ecadb7f29d8d65142a73e0ebf
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Jan 14 22:08:16 2022 +0000
libstdc++: Ignore deprecated warnings [PR104037]
The std::pointer_to_binary_function utility was deprecated in C++11 and
removed in C++17. Libstdc++ has started to warn about using it, so
suppress the warnings for this test.
gcc/testsuite/ChangeLog:
PR testsuite/104037
* g++.old-deja/g++.robertl/eb43.C: Ad -Wno-deprecated.
Diff:
---
gcc/testsuite/g++.old-deja/g++.robertl/eb43.C | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb43.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb43.C
index 90afbe4f190..c54050c3c7a 100644
--- a/gcc/testsuite/g++.old-deja/g++.robertl/eb43.C
+++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb43.C
@@ -5,6 +5,7 @@
// to pointer_to_binary_function, which has an `explicit' constructor.
// { dg-prune-output "note" }
+// { dg-options "-Wno-deprecated" }
#include <vector>
#include <algorithm>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-16 20:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-16 20:18 [gcc r12-6614] libstdc++: Ignore deprecated warnings [PR104037] Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).