libstdc++: Ignore deprecated warnings [PR104037]
commitbca1c431affee41ecadb7f29d8d65142a73e0ebf
authorJonathan Wakely <jwakely@redhat.com>
Fri, 14 Jan 2022 22:08:16 +0000 (14 22:08 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Sun, 16 Jan 2022 20:18:10 +0000 (16 20:18 +0000)
tree4440d9507306ea3cc0ec2ec39f7aa2753b752eb8
parent15630e6e9eb019477d1fc5c0966b43979e18ae18
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.
gcc/testsuite/g++.old-deja/g++.robertl/eb43.C