anttisalonen/kingdoms — Issue #1: On Fedora 15, problem trying to compile
Author: knotwork
Created: 2011-12-28 08:43:38+00:00
State: open

src/gui-utils.cpp: In member function ‘void combo_box::setup_surface()’:
src/gui-utils.cpp:901:65: error: no matching function for call to ‘min(unsigned int&, std::vector >::size_type)’
src/gui-utils.cpp:901:65: note: candidates are:
/usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../include/c++/4.6.1/bits/stl_algobase.h:187:5: note: template const _Tp& std::min(const _Tp&, const _Tp&)
/usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../include/c++/4.6.1/bits/stl_algobase.h:233:5: note: template const _Tp& std::min(const _Tp&, const _Tp&, _Compare)
src/gui-utils.cpp: In member function ‘virtual int combo_box::handle_input(const SDL_Event&)’:
src/gui-utils.cpp:973:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make: *** [src/gui-utils.o] Error 1