/in/foo.cc:6:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(linker, "/STACK:36777216")
/in/foo.cc: In function 'std::ostream& operator<<(std::ostream&, std::array<_Tp, _Nm>&)':
/in/foo.cc:34:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
#define REP(i, n) for (int i=0;i<n;++i)
^
/in/foo.cc:224:5: note: in expansion of macro 'REP'
REP(i, N-1) out << a[i] << " "; if (N) out << a.back();
^~~
/in/foo.cc:224:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
REP(i, N-1) out << a[i] << " "; if (N) out << a.back();
^~
/in/foo.cc: In function 'std::ostream& operator<<(std::ostream&, std::vector<_Tp>&)':
/in/foo.cc:34:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
#define REP(i, n) for (int i=0;i<n;++i)
^
/in/foo.cc:228:5: note: in expansion of macro 'REP'
REP(i, SZ(a)-1) out << a[i] << " "; if (SZ(a)) out << a.back();
^~~
/in/foo.cc:228:41: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
REP(i, SZ(a)-1) out << a[i] << " "; if (SZ(a)) out << a.back();
^~
/in/foo.cc: In member function 'bool lastweapon::CG::Po::operator<(const lastweapon::CG::Po&) const':
/in/foo.cc:301:68: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
bool operator<(cPo p)const{return sgn(x,p.x)<0||!sgn(x,p.x)&&sgn(y,p.y)<0;}bool operator<=(cPo p)const{return sgn(x,p.x)<0||!sgn(x,p.x)&&sgn(y,p.y)<=0;}
~~~~~~~~~~~^~~~~~~~~~~~~~
/in/foo.cc: In member function 'bool lastweapon::CG::Po::operator<=(const lastweapon::CG::Po&) const':
/in/foo.cc:301:144: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
bool operator<(cPo p)const{return sgn(x,p.x)<0||!sgn(x,p.x)&&sgn(y,p.y)<0;}bool operator<=(cPo p)const{return sgn(x,p.x)<0||!sgn(x,p.x)&&sgn(y,p.y)<=0;}
~~~~~~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc: In member function 'int lastweapon::CG::Po::q() const':
/in/foo.cc:309:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return (y > 0 || y == 0 && x >= 0) ? 0 : 1;
~~~~~~~^~~~~~~~~
/in/foo.cc: In function 'lastweapon::CG::Po lastweapon::CG::operator%(const lastweapon::CG::Po&, const lastweapon::CG::Line&)':
/in/foo.cc:397:52: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
inline Po operator%(cPo p,cLine l){return p&l*2-p;}
~~~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:756:9: warning: unused variable 'x' [-Wunused-variable]
int x, a1, b1, a2, b2;
^
/in/foo.cc:756:12: warning: unused variable 'a1' [-Wunused-variable]
int x, a1, b1, a2, b2;
^~
/in/foo.cc:756:16: warning: unused variable 'b1' [-Wunused-variable]
int x, a1, b1, a2, b2;
^~
/in/foo.cc:756:20: warning: unused variable 'a2' [-Wunused-variable]
int x, a1, b1, a2, b2;
^~
/in/foo.cc:756:24: warning: unused variable 'b2' [-Wunused-variable]
int x, a1, b1, a2, b2;
^~