bug-plotutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

plotutils-2.6 bug report


From: David Binderman
Subject: plotutils-2.6 bug report
Date: Mon, 18 Apr 2022 18:17:18 +0000

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

[Prev in Thread] Current Thread [Next in Thread]