Re: [cocci] [PATCH -mm] -funsigned-char, x86: make struct p4_event_bind::cntr signed array
From: Jason A. Donenfeld
Date: Thu Nov 03 2022 - 08:47:43 EST
Hi Julia,
On Thu, Nov 3, 2022 at 1:45 PM Julia Lawall <julia.lawall@xxxxxxxx> wrote:
> It should work now.
Thanks!
> However, without disable optional_qualifier, char is
> still matching signed char. If you think that should be changed, I can do
> that.
Does `optional_qualifier` disable other things that might be
interesting to have? If so, maybe this is less than ideal? If not,
maybe it doesn't matter?
Though, for what it's worth, gcc treats `char` as a separate type,
even when using `-funsigned-char` or `-fsigned-char`.
Jason