pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pingus for Windows [Was Re: Pingus Configuration Tool]


From: Ingo Ruhnke
Subject: Re: Pingus for Windows [Was Re: Pingus Configuration Tool]
Date: 20 Dec 2002 19:10:26 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

"Neil Mitchell" <address@hidden> writes:
 
> The current build errors on Windows include:
> ----------------------------------------------------------
> editor.cxx
> C:\Documents\Programs\Active\Pingus\src\Games\Pingus\src\editor\../input/eve
> nt_fwd.hxx(29) : error C2039: 'Event' : is not a member of 'Input'
> C:\Documents\Programs\Active\Pingus\src\Games\Pingus\src\editor\../input/eve
> nt_fwd.hxx(29) : error C2079: 'Event' uses undefined union 'Input'
> C:\Documents\Programs\Active\Pingus\src\Games\Pingus\src\editor\../input/eve
> nt_fwd.hxx(30) : error C2027: use of undefined type 'Input'
> 
> C:\Documents\Programs\Active\Pingus\src\Games\Pingus\src\editor\../input/eve
> nt_fwd.hxx(29) : see declaration of 'Input'
> C:\Documents\Programs\Active\Pingus\src\Games\Pingus\src\editor\../input/eve
> nt_fwd.hxx(30) : error C2974: 'vector' : invalid template argument for
> '_Ty', type expected
>         C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\vector(244) :
> see declaration of 'vector'
> ---------------------------------------------------------
> 
> Any suggestions for the compile errors?

input/event_fwd.hxx only contains a forward deleclaration for the
stuff in input/event.hxx, if you can't find a way to get it running
under MSVC, just do a to get rid of the forward declaration:

#ifdef WIN32
#  include "event.hxx"
#else
namespace Input {

union Input::Event;
typedef std::vector<Input::Event> EventLst;

} // namespace Input
#endif

I am not sure if the forward declaration is actually correct, it was
more a result of try and error than anything else.

-- 
WWW:      http://pingus.seul.org/~grumbel/ 
Games:    http://pingus.seul.org/~grumbel/gamedesigns/
JabberID: address@hidden 
ICQ:      59461927



reply via email to

[Prev in Thread] Current Thread [Next in Thread]