MegaGlest Forum

Archives (read only) => Vanilla Glest => Bug report => Topic started by: pietia on 7 April 2007, 10:09:37

Title: extra qualification in svn version
Post 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.
Title:
Post by: GuiLafer on 14 April 2007, 20:41:55
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:
Code: [Select]
static Trajectory ProjectileParticleSystem::strToTrajectory(const string &str);instead of:
Code: [Select]
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)