Re: [PATCH] RISC-V: Remove use of structured binding to fix compiler warning

2025-07-29 Thread Kito Cheng
Oh, I thought I fixed all those issue at https://github.com/gcc-mirror/gcc/commit/35200a033dfcfe38ce5c066651f94e5475a40373, thanks for fixing it :) On Tue, Jul 29, 2025 at 9:40 PM Jeff Law wrote: > > > On 7/28/25 9:39 AM, Christoph Müllner wrote: > > Function riscv_ext_is_subset () uses structur

Re: [PATCH] RISC-V: Remove use of structured binding to fix compiler warning

2025-07-29 Thread Jeff Law
On 7/28/25 9:39 AM, Christoph Müllner wrote: Function riscv_ext_is_subset () uses structured bindings to iterate over all keys and values of an unordered map. However, this is only available since C++17 and causes a warning like this: warning: structured bindings only available with ‘-std=