[Bug libstdc++/95765] std::vector should be built without warnings with -Wconversion and/or -Wsystem-headers
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 19 19:09:11 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95765
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:
https://gcc.gnu.org/g:5b6215083bd6a3e10dd142e1c5d4fab011d6f074
commit r11-1562-g5b6215083bd6a3e10dd142e1c5d4fab011d6f074
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Jun 19 18:15:15 2020 +0100
libstdc++: Fix some -Wsystem-headers warnings (PR 95765)
PR libstdc++/95765
* include/bits/stl_algobase.h (__size_to_integer(float))
(__size_to_integer(double), __size_to_integer(long double))
(__size_to_integer(__float128)): Cast return type explicitly.
* include/bits/stl_uninitialized.h
(__uninitialized_default_1<true>):
Remove unused typedef.
More information about the Gcc-bugs
mailing list