/in/foo.cc: In member function 'void Pig::use_card(std::vector<card>::iterator, char)':
/in/foo.cc:297:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(tmp = try_kill())
~~~~^~~~~~~~~~~~
/in/foo.cc:310:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(tmp = try_fight())
~~~~^~~~~~~~~~~~~
/in/foo.cc: In member function 'int Pig::try_kill()':
/in/foo.cc:489:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^