OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: WIP: wesnoth 1.8

From: Matthias Kilian (kilioutback.escape.de)
Date: Fri Sep 17 2010 - 17:12:09 CDT


On Fri, Sep 17, 2010 at 04:43:09PM +0100, Tom Murphy wrote:
> > ai/contexts.hpp:190: warning: `virtual' is not at beginning of declaration
> > ai/contexts.hpp:552: warning: `virtual' is not at beginning of declaration
> > ai/contexts.hpp:1171: warning: `virtual' is not at beginning of declaration
> >In file included from ai/composite/aspect.hpp:27,
> > from ai/composite/ai.hpp:25,
> > from ai/composite/ai.cpp:21:
>
> Maybe line 190 in ai/contexts.hpp should be:
>
> virtual const game_info^ get_info() const = 0;
>
> And line 552:
>
> virtual const game_info^ get_info() const
>
> etc..
>
> I've seen g++ freak out when const didn't come first, but maybe virtual
> has to come before const in a declaration?

Those are warnings. The error happens in line 418 and isn't related
to the const virttual stuiff at all.