 |
| Vacuum Dragon |
 |
Joined: Fri Dec 26, 2003 12:42 pm Posts: 872 Location: Germany, Berlin
|
|
I opened this new topic to report errors which occur when compiling fo with MSVC.Net 7.1. I'm not sure if all of them are real errors or only a problem with MSVC.Net.
Fleet.cpp
- bool Fleet::HasArmedShips() const uses NON-const iterator. It have to be a const one.
FleetWindow.cpp
- FleetWnd::SystemClicked: had to change std::set<int>::iterator to std::set<int>::const_iterator because of const set<int>& GG::ListBox::Selections() const
- ctor EditWnd call: GG::Connect(m_cancel_bn->ClickedSignal(), &CUI_Wnd::CloseClicked, static_cast<CUI_Wnd*>(this));
&CUI_Wnd::CloseClicked is a protected member of CUI_Wnd. It only compiles if i make it public.
HumanClientApp.cpp
- HumanClientApp::HandleSDLEvent when using mouse wheel i get a SDL_MOUSEBUTTONUP event. But SDL_BUTTON_WHEELUP/DOWN is only handled in SDL_MOUSEBUTTONDOWN. Results in: "The variable 'gg_event' is being used without being defined."
Ronald.
|
|