/in/blackjack.cpp: In function 'int main(int, char**)':
/in/blackjack.cpp:24:16: error: comparison with string literal results in unspecified behavior [-Werror=address]
if (argv[3] == "simple") {
^~~~~~~~
/in/blackjack.cpp:27:26: error: comparison with string literal results in unspecified behavior [-Werror=address]
} else if(argv[3] == "counting"){
^~~~~~~~~~
/in/blackjack.cpp:100:6: error: variable 'dealerbust' set but not used [-Werror=unused-but-set-variable]
bool dealerbust=false;
^~~~~~~~~~
/in/blackjack.cpp:68:6: error: variable 'playerbust' set but not used [-Werror=unused-but-set-variable]
bool playerbust=false;
^~~~~~~~~~
cc1plus: all warnings being treated as errors
/in/player.cpp: In member function 'virtual bool SimplePlayer::draw(Card, const Hand&)':
/in/player.cpp:40:12: error: suggest parentheses around assignment used as truth value [-Werror=parentheses]
if(thir=true){
~~~~^~~~~
/in/player.cpp:17:9: error: unused variable 'count' [-Werror=unused-variable]
int count = h.count;
^~~~~
/in/player.cpp: In member function 'virtual int CountingPlayer::bet(unsigned int, unsigned int)':
/in/player.cpp:87:5: error: no return statement in function returning non-void [-Werror=return-type]
}
^
/in/player.cpp:85:33: error: 'betnumber' is used uninitialized in this function [-Werror=uninitialized]
std::cout << "Player bets "<< betnumber<< std::endl;
^~~~~~~~~
cc1plus: all warnings being treated as errors
/in/compile/Makefile:25: recipe for target 'blackjack' failed
make: *** [blackjack] Error 1