/in/foo.cc:6:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning(disable:4996)
/in/foo.cc: In function 'double Expression_Eval(char*)':
/in/foo.cc:121:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
while (s[i] >= '0' && s[i] <= '9' || s[i] == '.')
~~~~~~~~~~~~^~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:163:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
printf("%d",Expression_Eval(s));
^
/in/foo.cc: In function 'int ch_to_i(char)':
/in/foo.cc:88:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.cc: In function 'double Operate(double, char, double)':
/in/foo.cc:108:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^