Jasper 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?

Worth a try anyway..

Tom

Reply via email to