Author Topic: extra qualification in svn version  (Read 2312 times)

pietia

  • Guest
extra qualification in svn version
« 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.
« Last Edit: 1 January 1970, 00:00:00 by pietia »

GuiLafer

  • Guest
(No subject)
« Reply #1 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)
« Last Edit: 1 January 1970, 00:00:00 by GuiLafer »