Hello there,

I just tried compiling the plotutils package with new C compiler clang-14.
It said:

mi_arc.cc:3023:24: warning: operator '?:' has lower precedence than '+'; '+' 
will be evaluated first [-Wparentheses]

Source code is

     return def->w + left ? -def->l : def->l;

Maybe better code:

     return def->w + (left ? -def->l : def->l);

Regards

David Binderman

Reply via email to