diff options
author | Jason Merrill <jason@redhat.com> | 2024-08-27 13:17:20 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2024-08-28 07:25:09 -0400 |
commit | 4246cf4f18053eeb47cb2a241fffa9a41573916e (patch) | |
tree | f73b4ef6bfef1b2ddbccd2a0b0aa9a090d811b8d /gcc/dwarf2codeview.h | |
parent | 3f51f0dc88ec21c1ec79df694200f10ef85915f4 (diff) | |
download | gcc-4246cf4f18053eeb47cb2a241fffa9a41573916e.zip gcc-4246cf4f18053eeb47cb2a241fffa9a41573916e.tar.gz gcc-4246cf4f18053eeb47cb2a241fffa9a41573916e.tar.bz2 |
libstdc++: avoid -Wsign-compare
-Wsign-compare complained about these comparisons between (unsigned) size_t
and (signed) streamsize, or between (unsigned) native_handle_type
and (signed) -1. Fixed by adding casts to unify the types.
libstdc++-v3/ChangeLog:
* include/std/istream: Add cast to avoid -Wsign-compare.
* include/std/stacktrace: Likewise.
Diffstat (limited to 'gcc/dwarf2codeview.h')
0 files changed, 0 insertions, 0 deletions