Re: [PATCH] c++: P2865R5, Remove Deprecated Array Comparisons from C++26 [PR117788]

2024-11-28 Thread Jason Merrill
On 11/27/24 9:06 PM, Marek Polacek wrote: Not a bugfix, but this should only affect C++26. Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? -- >8-- This patch implements P2865R5 by promoting the warning to error in C++26 only. -Wno-array-compare shouldn't disable the error, so adju

[PATCH] c++: P2865R5, Remove Deprecated Array Comparisons from C++26 [PR117788]

2024-11-27 Thread Marek Polacek
Not a bugfix, but this should only affect C++26. Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? -- >8-- This patch implements P2865R5 by promoting the warning to error in C++26 only. -Wno-array-compare shouldn't disable the error, so adjust the call sites as well. In C++20 we sho