4 Jan
2010
4 Jan
'10
6:16 p.m.
Henri Verbeet schrieb:
2010/1/4 André Hentschel <nerv(a)dawncrow.de>:
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