/in/foo.cc: In function 'int main()':
/in/foo.cc:7:9: warning: comparison of constant '100' with boolean expression is always true [-Wbool-compare]
int(1<x<100);
~~~^~~~
/in/foo.cc:7:7: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
int(1<x<100);
~^~
/in/foo.cc:7:2: warning: statement has no effect [-Wunused-value]
int(1<x<100);
^~~~~~~~~~~~
/in/foo.cc:12:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else;
^~~~
/in/foo.cc:13:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
cout<<x/2<<endl;
^~~~