Re: [PATCH RFA] libstdc++: -Wswitch and ios::openmode

2024-09-05 Thread Jonathan Wakely
On Thu, 5 Sept 2024 at 22:00, Jason Merrill wrote: > > Tested x86_64-pc-linux-gnu, OK for trunk? OK, thanks. > > -- 8< -- > > 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 _

[PATCH RFA] libstdc++: -Wswitch and ios::openmode

2024-09-05 Thread Jason Merrill
Tested x86_64-pc-linux-gnu, OK for trunk? -- 8< -- 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: