diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-01-14 22:08:16 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-01-16 20:18:10 +0000 |
commit | bca1c431affee41ecadb7f29d8d65142a73e0ebf (patch) | |
tree | 4440d9507306ea3cc0ec2ec39f7aa2753b752eb8 /gcc | |
parent | 15630e6e9eb019477d1fc5c0966b43979e18ae18 (diff) | |
download | gcc-bca1c431affee41ecadb7f29d8d65142a73e0ebf.zip gcc-bca1c431affee41ecadb7f29d8d65142a73e0ebf.tar.gz gcc-bca1c431affee41ecadb7f29d8d65142a73e0ebf.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.robertl/eb43.C | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb43.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb43.C index 90afbe4..c54050c 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> |