P
parag_paul
Are there any compiler groups.
Though I try it in this language forum
I got the following message for the following line in a c file
if (logic_value_change == p_variable_info->vc_reason &&
p_variable_info->p_value->logic_value <4 &&
p_variable_info->p_value->logic_value>=0)
The message is
.../star186559.c: In function `func_var':
.../star186559.c:320: warning: comparison is always true due to limited
range of data type
comparison is always true ????
The data type fpr logic_value is a unsigned char
-Parag
Though I try it in this language forum
I got the following message for the following line in a c file
if (logic_value_change == p_variable_info->vc_reason &&
p_variable_info->p_value->logic_value <4 &&
p_variable_info->p_value->logic_value>=0)
The message is
.../star186559.c: In function `func_var':
.../star186559.c:320: warning: comparison is always true due to limited
range of data type
comparison is always true ????
The data type fpr logic_value is a unsigned char
-Parag