[PATCH] Fix libstdc++ tests for -Wvolatile warnings in C++2a mode

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] Fix libstdc++ tests for -Wvolatile warnings in C++2a mode

Jonathan Wakely-3
        * testsuite/20_util/result_of/sfinae_friendly_1.cc: Add -Wno-volatile
        for C++2a and up. Define HAS_52748_FIXED and fix incorrect tests.
        * testsuite/tr1/3_function_objects/result_of.cc: Add -Wno-volatile
        for C++2a and up.

Tested x86_64-linux, committed to trunk.


patch.txt (2K) Download Attachment