FreeOrion

Forums for the FreeOrion project
It is currently Tue May 21, 2013 10:49 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: MSVC.NET 7.1 errors
PostPosted: Thu Jan 29, 2004 8:54 pm 
Offline
Vacuum Dragon
User avatar

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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group