On Tue, 2022-08-30 at 16:40 -0400, Marek Polacek wrote: > This looks good to me, one thing though: > > On Thu, Aug 11, 2022 at 09:38:12PM -0400, David Malcolm via Gcc- > patches wrote: > > --- a/gcc/c-family/c.opt > > +++ b/gcc/c-family/c.opt > > @@ -1439,6 +1439,10 @@ Wwrite-strings > > C ObjC C++ ObjC++ Var(warn_write_strings) Warning > > In C++, nonzero means warn about deprecated conversion from string > > literals to 'char *'. In C, similar warning, except that the > > conversion is of course not deprecated by the ISO C standard. > > > > +Wxor-used-as-pow > > +C C++ Common Var(warn_xor_used_as_pow) Warning Init(1) > > This doesn't include ObjC/ObjC++, but...
I added ObjC/ObjC++ (and dropped Common), and retested it (and tested it with -xobjective-c and -xobjective-c++); I've pushed it to trunk as r13-2386-gbedfca647a9e9c. Thanks Dave