MegaGlest Forum
Archives (read only) => Vanilla Glest => Bug report => Topic started by: pietia on 7 April 2007, 10:09:37
-
hi !
it seems that in (svn version) sources/graphics/particle.h is 'extra qualification ‘Shared::Graphics::ProjectileParticleSystem::’ on member ‘strToTrajectory’ ' in line 313.
i've removed that qualification for my debian amd64 compilation.
i've not had any problems with compilation.
btw: why you don't use virtual destructors in classes with wirtual methods ? :)
It's my first post so... my name's piotr (pietia) and i'm polish.
-
I got the same error too.. the fix is pretty straightforward as you mention...
For those wanting details, in patricle.h header inside the ProjectileParticleSystem class declaration a data member was decalred like this:
static Trajectory ProjectileParticleSystem::strToTrajectory(const string &str);instead of:
static Trajectory strToTrajectory(const string &str);
I think this has somtehing to do with compiler version.
mine is... gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)