diff options
author | Jason Merrill <jason@redhat.com> | 2024-08-27 13:16:27 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2024-09-05 21:29:07 -0400 |
commit | 3dafb65bb5c31b169dae180e0664dfcaee64afe6 (patch) | |
tree | 377afef495c63c964a7407f929b0a75f19e1d6dc /gcc/cp/cp-objcp-common.h | |
parent | a51f2fc0d80869ab079a93cc3858f24a1fd28237 (diff) | |
download | gcc-3dafb65bb5c31b169dae180e0664dfcaee64afe6.zip gcc-3dafb65bb5c31b169dae180e0664dfcaee64afe6.tar.gz gcc-3dafb65bb5c31b169dae180e0664dfcaee64afe6.tar.bz2 |
libstdc++: -Wswitch and ios::openmode
In addition to marking it as flag_enum, we want to avoid warnings about
not having a case for the implementation detail enumerators
_S_ios_openmode_*. And also for _S_noreplace in standard modes before it
was added.
libstdc++-v3/ChangeLog:
* include/bits/ios_base.h (_GLIBCXX_NOREPLACE_UNUSED): New.
(_Ios_Openmode): Add unused attributes.
* testsuite/27_io/ios_base/types/openmode/case_label.cc: Handle
noreplace.
Diffstat (limited to 'gcc/cp/cp-objcp-common.h')
0 files changed, 0 insertions, 0 deletions