On 06/04/14 00:46, Marek Polacek wrote:
It is trivial to pass the location from c_add_case_label down to
check_case_bounds, so do that. With it, we instead of
i.c:4:3: warning: case label value is less than minimum value for type
switch (c) { case 42: case -1: return -1; };
^
output
i.c
It is trivial to pass the location from c_add_case_label down to
check_case_bounds, so do that. With it, we instead of
i.c:4:3: warning: case label value is less than minimum value for type
switch (c) { case 42: case -1: return -1; };
^
output
i.c:4:25: warning: case label value is less tha