warning: result of comparison of constant 128 with expression of type 'char'...
A library for scientific data visualization
Brought to you by:
abalakin
xlang-12 complains about version 2.5:
/disk-samsung/freebsd-ports/math/mathgl/work/mathgl-2.5/src/canvas.cpp:355:9: warning: result of comparison of constant 128 with expression of type 'char' is always false [-Wtautological-constant-out-of-range-compare] if(type>128 || type<0) ~~~~^~~~ 1 warning generated.
Anonymous
This is done on purpose (not a bug) to bypass the situation using an unsigned char instead of signed one.