I just downloaded the latest snapshot and I changed my code a little bit (the class is now also derived from sf::Transformable), but the problem is still the same.
void Draw(sf::RenderTarget& target, sf::RenderStates states) const
{
SetScale(4, 4);
}
When using these lines I still get this error: "passing ‘const Object’ as ‘this’ argument of ‘void sf::Transformable::SetScale(float, float)’ discards qualifiers"
I am using Code::Blocks with gcc v4.5.2
I do understand what the error means, I am asking if there is a workaround.