From: Zach Laine <whatwasthataddress@ho...> - 2004-03-01 20:02:40
If you mean changing "and" and "or" to "&&" and "||", go ahead. I didn't
even notice them when I looked at the code.
>From: Ronald Nölte <noelte@...>
>To: "freeorion-programmers" <freeorion-programmers@...>
>Subject: [Freeorion-programmers] and or
>Date: Mon, 1 Mar 2004 20:48:44 +0100
>I it needed to use >and< and >or< instead of && and ||, i get a errors.
>I would like to replace them in EllipticalGalaxyCalcPositions. Any
Dream of owning a home? Find out how in the First-time Home Buying Guide.
From: Zach Laine <whatwasthataddress@ho...> - 2004-03-01 21:15:27
>Another question: Every time i update my local sources i have to change
>CUI_Wnd this way:
> class CUI_Wnd : public GG::Wnd
> virtual void CloseClicked(); //!< called when window is closed
>the close button
>because when compiling GG::Connect(m_cancel_bn->ClickedSignal(),
>i get the following error :
> UI\FleetWindow.cpp(360) : error C2248: 'CUI_Wnd::CloseClicked' : cannot
>access protected member declared in class 'CUI_Wnd'
> UI\CUI_Wnd.h(128) : see declaration of 'CUI_Wnd::CloseClicked'
> UI\CUI_Wnd.h(83) : see declaration of 'CUI_Wnd'
This is a MSVC compiler deficiency. You can put the code change inside of
and #ifdef if you like, but please don't expose a protected method just
because the Microsoft compiler is broken.
Take off on a romantic weekend or a family adventure to these great U.S.