Bug#358881: FTBFS with G++ 4.1: extra qualification
Martin Michlmayr
tbm at cyrius.com
Fri Mar 24 23:06:20 UTC 2006
Package: dasher
Version: 3.2.18-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 attached.
> Automatic build of dasher_3.2.18-2 on em64t by sbuild/amd64 1.106
...
> make[5]: Entering directory `/build/tbm/dasher-3.2.18/Src/DasherCore/LanguageModelling'
> if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./../../Common -g -Wall -O2 -MT DictLanguageModel.o -MD -MP -MF ".deps/DictLanguageModel.Tpo" -c -o DictLanguageModel.o DictLanguageModel.cpp; \
> then mv -f ".deps/DictLanguageModel.Tpo" ".deps/DictLanguageModel.Po"; else rm -f ".deps/DictLanguageModel.Tpo"; exit 1; fi
> SymbolAlphabet.h:41: error: extra qualification 'Dasher::CSymbolAlphabet::' on member 'CSymbolAlphabet'
> make[5]: *** [DictLanguageModel.o] Error 1
--- ./Src/DasherCore/LanguageModelling/SymbolAlphabet.h~ 2006-03-24 23:01:40.000000000 +0000
+++ ./Src/DasherCore/LanguageModelling/SymbolAlphabet.h 2006-03-24 23:01:45.000000000 +0000
@@ -38,7 +38,7 @@
// iSize is the number of Symbols - please dont change the constructor
// Add functions to set customizable behaviour
- CSymbolAlphabet::CSymbolAlphabet(int iSize)
+ CSymbolAlphabet(int iSize)
: m_iSize(iSize)
{
// DASHER_ASSERT(iSize>0);
--- ./Src/DasherCore/DasherViewSquare.h~ 2006-03-24 23:02:54.000000000 +0000
+++ ./Src/DasherCore/DasherViewSquare.h 2006-03-24 23:02:58.000000000 +0000
@@ -33,7 +33,7 @@
virtual void RenderNodes();
void ChangeScreen(CDasherScreen* NewScreen);
- void CDasherViewSquare::DrawGoTo(screenint mousex, screenint mousey);
+ void DrawGoTo(screenint mousex, screenint mousey);
void DrawMouse(screenint mousex, screenint mousey);
void DrawMouseLine(screenint mousex, screenint mousey);
void DrawKeyboard();
It then failed with the following but let's hope this is a temporary
problem because of the gnome transition:
/usr/lib/libspi.so: undefined reference to `atk_component_get_alpha'
/usr/lib/libspi.so: undefined reference to `atk_image_get_image_locale'
/usr/lib/libspi.so: undefined reference to `atk_object_get_attributes'
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Pkg-gnome-maintainers
mailing list