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.
This commit is contained in:
parent
15630e6e9e
commit
bca1c431af
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user