/in/foo.cc: In function 'int main()':
/in/foo.cc:7:16: warning: comparison of constant '1000000000' with boolean expression is always true [-Wbool-compare]
while (1<=a<=1000000000);
~~~~^~~~~~~~~~~~
/in/foo.cc:7:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
while (1<=a<=1000000000);
~^~~
/in/foo.cc:7:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (1<=a<=1000000000);
^~~~~
/in/foo.cc:8:11: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
(1<=b<=1000000000);
^
/in/foo.cc:8:16: warning: comparison of constant '1000000000' with boolean expression is always true [-Wbool-compare]
(1<=b<=1000000000);
~~~~^~~~~~~~~~~~
/in/foo.cc:8:13: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
(1<=b<=1000000000);
~^~~
/in/foo.cc:13:6: warning: for increment expression has no effect [-Wunused-value]
h!=a*n+b*n);
~^~~~~~~~~
/in/foo.cc:16:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int*' [-Wformat=]
printf ("%d\n%d",&a,&b);
^
/in/foo.cc:16:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int*' [-Wformat=]
/in/foo.cc:17:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int*' [-Wformat=]
printf ("%d\n",&m);
^