D 2024-02-16T12:13:26.673
J comment LLVM.org\sClang\s17\semits\sis\sa\sfalse\spositive\s<tt>-Wconstant-logical-operand</tt>\swarning\swhen\susing\s<tt>-std=c2x</tt>\s(reported\sat\s[https://github.com/llvm/llvm-project/issues/64356]):\r\n\r\n<pre>\r\ntcl86/generic/tclExecute.c:9192:4:\swarning:\suse\sof\slogical\s'||'\swith\sconstant\soperand\s[-Wconstant-logical-operand]\r\n\s9192\s|\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s||\s(sizeof(Tcl_WideInt)\s<\s2*sizeof(long)))\s{\r\n\s\s\s\s\s\s|\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s^\s\s~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\ntcl86/generic/tclExecute.c:9192:4:\snote:\suse\s'|'\sfor\sa\sbitwise\soperation\r\n\s9192\s|\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s||\s(sizeof(Tcl_WideInt)\s<\s2*sizeof(long)))\s{\r\n\s\s\s\s\s\s|\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s^~\r\n\s\s\s\s\s\s|\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s|\r\n</pre>\r\n\r\nThis\swill\sbe\sfixed\sin\sfuture\sClang,\sbut\sI\swould\ssuggest\sreordering\saffected\sexpressions\sas\sa\sworkaround\sto\savoid\sanyone\selse\scomplaining\sabout\sthis.\sSee\sattached\spatch.
J login chrstphrchvz
J mimetype text/plain
K aa6624c6292064e76efe93bfb810545a82ad1d3d
U chrstphrchvz
Z 8fa5217ba8e95301cd28107eec30931e