pingus-devel
[Top][All Lists]
Advanced

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

Re: Fun Windows Errors


From: David Philippi
Subject: Re: Fun Windows Errors
Date: Mon, 14 Oct 2002 16:28:11 +0200
User-agent: KMail/1.4.1

On Monday 14 October 2002 16:10, Neil Hotmail wrote:
> D:\Pingus\CVS\Games\Pingus\src\worldmap\node.hxx(34) : error C2990: 'Node'
> : non-template class has already been defined as a template class
>         D:\Pingus\CVS\Games\Pingus\src\worldmap\graph.hxx(49) : see
> declaration of 'Node'

Well, I'm not sure what the "Fun" of this error is. It's a valid error 
message - there are two classes named node, one a template, one normal. 
Since it's impossible to overload classes in C++ this is an error.
Solutions are either to remove/rename one of them or to put them in different 
namespaces.

Bye David





reply via email to

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