[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exit_menu.cxx: Compiler error
From: |
Ingo Ruhnke |
Subject: |
Re: exit_menu.cxx: Compiler error |
Date: |
02 Apr 2003 20:16:15 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Björn Fischer <address@hidden> writes:
> Hi,
> compiling the current cvs chechout gave the following compiler error:
>
> --------------------Konfiguration: pingus - Win32 Debug--------------------
> Kompilierung läuft...
> exit_menu.cxx
> C:\CVS\Games\Pingus\src\exit_menu.cxx(42) : error C2352:
> 'GUI::SurfaceButton::draw' : Unzulaessiger Aufruf einer
> nichtstatischen Member-Funktion
> c:\cvs\games\pingus\src\gui\surface_button.hxx(50) : Siehe
> Deklaration von 'draw'
> Fehler beim Ausführen von cl.exe.
>
> pingus.exe - 1 Fehler, 0 Warnung(en)
> -----------------------------------------------
>
> The lines 42 and 67 are concerned ('GUI::SurfaceButton::draw(gc);').
> Commenting the lines out seems to work. I didn't see anything strange
> after I commented them out. What are they needed for? What would be
> best to do with them?
Namespace issue, removing 'GUI::' or "using namespace GUI;" might
help.
--
WWW: http://pingus.seul.org/~grumbel/
Games: http://pingus.seul.org/~grumbel/gamedesigns/
JabberID: address@hidden
ICQ: 59461927