/in/foo.cc: In function 'int main()':
/in/foo.cc:5:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
#define dbg if(debugflag)
^
/in/foo.cc:40:3: note: in expansion of macro 'dbg'
dbg printf("=====IN POS #%d=====\n",i);
^~~
/in/foo.cc:41:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
rec1=appr[1];rec2=rec3=0;
^~~~
/in/foo.cc:44:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(que[target].size()==que[target].top().value && rec1 && !rec2)
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:5:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
#define dbg if(debugflag)
^
/in/foo.cc:57:3: note: in expansion of macro 'dbg'
dbg printf("Upd REC2=%d REC4=%d P=%d Q=%d\n",rec2,rec4,p,q);
^~~
/in/foo.cc:58:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(rec2>p || (rec2==p && rec4<q))
^~
/in/foo.cc:73:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(que[target].size()==que[target].top().value && rec1 && !rec2)
~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~