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.
