/in/foo.cc: In function 'int cmp(double)':
/in/foo.cc:11:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (fabs(x) < eps) return 0; return x > 0 ? 1 : -1;
^~
/in/foo.cc:11:31: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (fabs(x) < eps) return 0; return x > 0 ? 1 : -1;
^~~~~~
/in/foo.cc: In function 'int ConvexHull(point*, point*, int)':
/in/foo.cc:77:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (n >= 1) m--; return m;
^~
/in/foo.cc:77:19: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (n >= 1) m--; return m;
^~~~~~
/in/foo.cc: In function 'double Area(point*, int)':
/in/foo.cc:81:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i = 2; i < n; ++i) res += Cross(ch[i] - ch[1], ch[i + 1] - ch[1]); return res / 2.0;
^~~
/in/foo.cc:81:79: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (int i = 2; i < n; ++i) res += Cross(ch[i] - ch[1], ch[i + 1] - ch[1]); return res / 2.0;
^~~~~~
/in/foo.cc: In function 'double area(Polygon&)':
/in/foo.cc:86:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i = 1; i < n - 1; ++i) res += Cross(v[i] - v[0], v[i + 1] - v[0]); return res / 2.0;
^~~
/in/foo.cc:86:78: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (int i = 1; i < n - 1; ++i) res += Cross(v[i] - v[0], v[i + 1] - v[0]); return res / 2.0;
^~~~~~