Re: [PATCH RFC] libcpp: adjust pedwarn handling

2024-08-28 Thread Joseph Myers
On Wed, 28 Aug 2024, Jason Merrill wrote: > Tested x86_64-pc-linux-gnu. Any objections? Should I change all the other > instances of > > if (CPP_PEDANTIC... > cpp_error (...CPP_DL_PEDWARN > > the same way? Yes, I think that's a good change. A followup question might be whether cases such a

[PATCH RFC] libcpp: adjust pedwarn handling

2024-08-28 Thread Jason Merrill
Tested x86_64-pc-linux-gnu. Any objections? Should I change all the other instances of if (CPP_PEDANTIC... cpp_error (...CPP_DL_PEDWARN the same way? -- 8< -- Using CPP_W_PEDANTIC lets users suppress these diagnostics with #pragma GCC diagnostic ignored "-Wpedantic". libcpp/ChangeLog: