/in/foo.cc: In function 'int main()':
/in/foo.cc:6:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(a='A'||'a')
^
/in/foo.cc:8:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
else if(a='B'||'b')
^
/in/foo.cc:10:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
else if(a='C'||'c')
^
/in/foo.cc:12:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
else if(a='D'||'d')
^
/in/foo.cc:14:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
/in/foo.cc:16:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
return 0;
^~~~~~