/in/foo.cc:8:12: warning: 'judgement' initialized and declared 'extern'
extern int judgement=0;
^~~~~~~~~
/in/foo.cc: In function 'std::istream& operator>>(std::istream&, Point&)':
/in/foo.cc:38:13: warning: statement has no effect [-Wunused-value]
static_cast<int>(exm.y);
^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:48:13: warning: statement has no effect [-Wunused-value]
static_cast<int>(exm.x);
^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:54:13: warning: statement has no effect [-Wunused-value]
static_cast<int>(exm.x);
^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:55:13: warning: statement has no effect [-Wunused-value]
static_cast<int>(exm.y);
^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'Point Point::add(Point)':
/in/foo.cc:72:5: warning: statement has no effect [-Wunused-value]
static_cast<int>(sum.x);
^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:73:5: warning: statement has no effect [-Wunused-value]
static_cast<int>(sum.y);
^~~~~~~~~~~~~~~~~~~~~~~