Use GCC's -Wlogical-op if possible

André Hentschel nerv at
Mon Jan 4 12:16:21 CST 2010

Henri Verbeet schrieb:
> 2010/1/4 André Hentschel <nerv at>:
>> I dont see a reason to take that warning serious, as its not a problem in any case. in kernel32 it just  happens because we use a Macro. Taking that case(v==1) out of the Macro leads to harder readable code.
>> So IMHO i would not make -Wlogical-op the default.
> Not using that macro at all would be even more readable. I'm probably
> missing something obvious, but it seems to just do a wsprintfW() with
> "#%d" as format.
i can confirm that you are right.


Best Regards, André Hentschel

More information about the wine-devel mailing list