sapporocpp / othello-battler

MIT License
0 stars 0 forks source link

warning: array subscript has type ‘char’ [-Wchar-subscripts] #3

Closed usagi closed 9 years ago

usagi commented 9 years ago
[3/4] Building CXX object CMakeFiles/othello_runner.dir/othello_runner.cpp.o
In file included from ../othello_runner.cpp:6:0:
../othello_lib.hpp: In member function ‘void Othello::Placement::display(int, int) const’:
../othello_lib.hpp:68:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
      std::cout << NAME[places_[i][j]];
                                     ^
maraigue commented 9 years ago

対応しました https://github.com/sapporocpp/othello-battler/issues/4