/in/foo.cc: In function 'int main()':
/in/foo.cc:28:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(a[i].zf>85&&a[i].xb=='Y') a[i].ji+=1000; if(a[i].bf>80&&a[i].bgb=='Y') a[i].ji+=850;
^~
/in/foo.cc:28:47: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(a[i].zf>85&&a[i].xb=='Y') a[i].ji+=1000; if(a[i].bf>80&&a[i].bgb=='Y') a[i].ji+=850;
^~
/in/foo.cc: In function 'int comp(const student&, const student&)':
/in/foo.cc:20:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^