|
|
Hmm, looks as if your changes introduced a warning in the macOS build:
[ 62%] Building CXX object test/CMakeFiles/fractals.dir/fractals.cxx.o
[ 62%] Building CXX object test/CMakeFiles/fractals.dir/fracviewer.cxx.o
/Users/runner/work/fltk/fltk/test/fracviewer.cxx:250:51: warning: operator '?:' has lower precedence than '*'; '*' will be evaluated first [-Wparentheses]
AzSpin = fabs(ElSpin) * (AzSpin > 0.0f) ? 1.0f : -1.0f;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/runner/work/fltk/fltk/test/fracviewer.cxx:250:51: note: place parentheses around the '*' _expression_ to silence this warning
AzSpin = fabs(ElSpin) * (AzSpin > 0.0f) ? 1.0f : -1.0f;
^
( )
/Users/runner/work/fltk/fltk/test/fracviewer.cxx:250:51: note: place parentheses around the '?:' _expression_ to evaluate it first
AzSpin = fabs(ElSpin) * (AzSpin > 0.0f) ? 1.0f : -1.0f;
^
( )
1 warning generated.
[ 62%] Linking CXX executable ../bin/test/fractals.app/Contents/MacOS/fractals
The previous build log didn't have such a warning.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
[ Direct Link to Message ] | |
|
| |