Author
anonymous
over 7 years ago
Language
Compiler
Options
Author
anonymous
over 7 years ago
$
prog.cc: In function 'void f(uint8_t)':
prog.cc:5:26: warning: comparison is always false due to limited range of data type [-Wtype-limits]
const auto p = value == -1 ? "-1" : "no";
^
prog.cc: In member function 'void A::f(uint8_t)':
prog.cc:21:30: warning: comparison is always false due to limited range of data type [-Wtype-limits]
const auto p = value == -1 ? "-1" : "no";
^
no
no
no
no
Exit Code:
0