Package: ftgl
Version: 2.1.2-2
Severity: important
Tags: patch
Your package fails to build with G++ 4.1. I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.
A patch is below.
> Automatic build of ftgl_2.1.2-2 on bigsur by sbuild/mips 1.75
...
> make[2]: Entering directory `/build/tbm/ftgl-2.1.2/unix/src'
> /bin/sh ../libtool --mode=compile g++ -c -I../../include -g -O2
> -I/usr/include/freetype2 ../../src/FTGLTextureFont.cpp
> g++ -c -I../../include -g -O2 -I/usr/include/freetype2
> ../../src/FTGLTextureFont.cpp -o FTGLTextureFont.o
> ../../include/FTTextureGlyph.h:55: error: extra qualification
> 'FTTextureGlyph::' on member 'ResetActiveTexture'
> make[2]: *** [FTGLTextureFont.lo] Error 1
--- include/FTTextureGlyph.h~ 2006-03-07 16:37:05.000000000 +0000
+++ include/FTTextureGlyph.h 2006-03-07 16:37:10.000000000 +0000
@@ -52,7 +52,7 @@
* Reset the currently active texture to zero to get into a known
state before
* drawing a string. This is to get round possible threading issues.
*/
- static void FTTextureGlyph::ResetActiveTexture(){ activeTextureID = 0;}
+ static void ResetActiveTexture(){ activeTextureID = 0;}
private:
/**
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]