On Wed, Oct 16, 2024 at 2:52 PM Arsen Arsenović via Gcc <gcc@gcc.gnu.org> wrote: > > Eli Zaretskii via Gcc <gcc@gcc.gnu.org> writes: > > > Please don't remove the support for -Wtraditional if it's easy to fix. > > Removing it runs risk of breaking someone's program, so unless keeping > > it is a real dumper on GCC development, I hope you will keep it. > > ISTM that it is proposed to ignore rather than reject Wtraditional, and > as a warning option, it should be incosequential to parsing and codegen, > so risk of breakage is minimal or nonexistent, save for the change in > workflow caused by it not being effective. > -- > Arsen Arsenović
One thing about -Wtraditional is that it enables a lot of different messages, so I always thought it would make more sense as an umbrella warning that just enables a bunch of sub-warning flags. While many of the individual sub-warnings may no longer be relevant, some of them might still be useful for reasons besides compatibility with traditional C.