-
- Downloads
libstdc++: Fix -Wsystem-headers warnings
Fix some problems noticed with -Wsystem-headers. libstdc++-v3/ChangeLog: * include/bits/stl_tempbuf.h (_Temporary_buffer): Disable warnings about get_temporary_buffer being deprecated. * include/ext/functional (mem_fun1, mem_fun1_ref): Disable warnings about mem_fun1_t, const_mem_fun1_t, mem_fun1_ref_t and const_mem_fun1_ref_t being deprecated. * include/std/array (__array_traits<T, 0>): Remove artificial attributes which give warnings about being ignored. * include/std/spanstream (basic_spanbuf::setbuf): Add assertion and adjust to avoid narrowing warning. * libsupc++/exception_ptr.h [!__cpp_rtti && !__cpp_exceptions] (make_exception_ptr): Add missing inline specifier.
Showing
- libstdc++-v3/include/bits/stl_tempbuf.h 3 additions, 0 deletionslibstdc++-v3/include/bits/stl_tempbuf.h
- libstdc++-v3/include/ext/functional 2 additions, 2 deletionslibstdc++-v3/include/ext/functional
- libstdc++-v3/include/std/array 2 additions, 2 deletionslibstdc++-v3/include/std/array
- libstdc++-v3/include/std/spanstream 2 additions, 1 deletionlibstdc++-v3/include/std/spanstream
- libstdc++-v3/libsupc++/exception_ptr.h 1 addition, 1 deletionlibstdc++-v3/libsupc++/exception_ptr.h
Loading
Please register or sign in to comment