From: SourceForge.net <no...@so...> - 2009-03-27 11:40:06
|
Bugs item #2716706, was opened at 2009-03-27 11:35 Message generated for change (Comment added) made by kroddn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=544942&aid=2716706&group_id=75752 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Client Group: Latest Subversion Status: Open Resolution: None Priority: 7 Private: No Submitted By: Ondrej Riha (ondrejr) Assigned to: Geoff Topping (geoffthemedio) Summary: call of overloaded 'SelectFleet(NULL)' is ambiguous Initial Comment: There is compilation error with gcc: UI/MapWnd.cpp: In member function 'void MapWnd::ReselectLastFleet()': UI/MapWnd.cpp:1522: error: call of overloaded 'SelectFleet(NULL)' is ambiguous UI/MapWnd.h:105: note: candidates are: void MapWnd::SelectFleet(int) UI/MapWnd.h:106: note: void MapWnd::SelectFleet(Fleet*) ---------------------------------------------------------------------- >Comment By: Markus Sinner (kroddn) Date: 2009-03-27 12:40 Message: I cannot confirm this bug, my version (rev 2941) compiles just fine with gcc. What difference should it make if you call SelectFleet with NULL or 0 ? ---------------------------------------------------------------------- Comment By: Ondrej Riha (ondrejr) Date: 2009-03-27 11:48 Message: Patch added. Needs commit. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=544942&aid=2716706&group_id=75752 |