[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Windows Build Errors
From: |
David Philippi |
Subject: |
Re: Windows Build Errors |
Date: |
Sun, 22 Dec 2002 20:40:31 +0100 |
User-agent: |
KMail/1.4.1 |
On Sunday 22 December 2002 20:22, Neil Mitchell wrote:
> Is a simple cast all that's required? Doesn't gcc complain at this? How can
Just for fun I tried to compile the file with gcc:
multiplayer_client_child.cxx: In constructor
`MultiplayerClientChild::MultiplayerClientChild(TrueServer*, const
CL_Rect&)':
multiplayer_client_child.cxx:28: no matching function for call to `ButtonPanel
::ButtonPanel(PLF*, const int&, const int&)'
button_panel.hxx:73: candidates are: ButtonPanel::ButtonPanel(const
ButtonPanel&)
button_panel.hxx:51: ButtonPanel::ButtonPanel(Client*, int,
int)
multiplayer_client_child.cxx:38: no matching function for call to `ButtonPanel
::set_server(TrueServer*&)'
Much more informative and without the incredible suggestion to add a
reinterpret_cast to match mismatching pointers.
> I hack the Windows one into compiling something and without going "fatal
> error", and aborting.
Like I said, don't compile it or add #if 0 ... #endif around the whole code.
Bye David