This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r278401 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: redi at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 18 Nov 2019 12:46:02 -0000
- Subject: r278401 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: redi
Date: Mon Nov 18 12:46:02 2019
New Revision: 278401
URL: https://gcc.gnu.org/viewcvs?rev=278401&root=gcc&view=rev
Log:
libstdc++: Fix some -Wsystem-headers warnings
* include/bits/alloc_traits.h (allocator_traits::construct)
(allocator_traits::destroy, allocator_traits::max_size): Add unused
attributes to parameters that are not used in C++20.
* include/std/bit (__ceil2): Add braces around assertion to avoid
-Wmissing-braces warning.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/alloc_traits.h
trunk/libstdc++-v3/include/std/bit