Package: glob2
Version: 0.8.16-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 glob2_0.8.16-2 on bigsur by sbuild/mips 1.94
...
> mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2
> -I/usr/include/SDL -D_REENTRANT -I/usr/include -I./../libgag/include
> -I/usr/include/SDL -D_REENTRANT -Wall -g -c Engine.cpp
> EndGameScreen.h:68: error: extra qualification 'EndGameScreen::' on member
> 'sortAndSet'
> IRC.h:72: error: extra qualification 'IRC::ChatMessage::' on member
> 'ChatMessage'
> IRC.h:82: error: extra qualification 'IRC::InfoMessage::' on member
> 'InfoMessage'
> make[3]: *** [Engine.o] Error 1
--- ./src/IRC.h~ 2006-03-18 02:37:55.000000000 +0000
+++ ./src/IRC.h 2006-03-18 02:38:04.000000000 +0000
@@ -69,7 +69,7 @@
char diffusion[IRC_CHANNEL_SIZE+1];
char message[IRC_MESSAGE_SIZE+1];
- ChatMessage::ChatMessage() { source[0]=0; diffusion[0]=0;
message[0]=0; }
+ ChatMessage() { source[0]=0; diffusion[0]=0; message[0]=0; }
};
struct InfoMessage
@@ -79,7 +79,7 @@
char diffusion[IRC_CHANNEL_SIZE+1];
char message[IRC_MESSAGE_SIZE+1];
- InfoMessage::InfoMessage(InfoMessageType t) { type=t;
source[0]=0; diffusion[0]=0; message[0]=0; }
+ InfoMessage(InfoMessageType t) { type=t; source[0]=0;
diffusion[0]=0; message[0]=0; }
};
protected:
--- ./src/EndGameScreen.h~ 2006-03-18 02:38:44.000000000 +0000
+++ ./src/EndGameScreen.h 2006-03-18 02:38:48.000000000 +0000
@@ -65,7 +65,7 @@
protected:
//! resort players
- void EndGameScreen::sortAndSet(EndOfGameStat::Type type);
+ void sortAndSet(EndOfGameStat::Type type);
public:
EndGameScreen(GameGUI *gui);
--- ./src/GameGUILoadSave.cpp~ 2006-03-18 02:39:14.000000000 +0000
+++ ./src/GameGUILoadSave.cpp 2006-03-18 02:39:32.000000000 +0000
@@ -31,7 +31,7 @@
{
public:
- FuncFileList::FuncFileList(int x, int y, int w, int h, Uint32 hAlign,
Uint32 vAlign, const char *font,
+ FuncFileList(int x, int y, int w, int h, Uint32 hAlign, Uint32 vAlign,
const char *font,
const char *dir, const char *extension, const bool recurse,
std::string (*filenameToNameFunc)(const char *filename),
std::string (*nameToFilenameFunc)(const char *dir, const char
*name, const char *extension))
@@ -41,16 +41,16 @@
this->generateList();
}
- FuncFileList::~FuncFileList()
+ ~FuncFileList()
{}
private:
- std::string FuncFileList::fileToList(const char* fileName) const
+ std::string fileToList(const char* fileName) const
{
return filenameToNameFunc(fullName(fileName).c_str());
}
- std::string FuncFileList::listToFile(const char* listName) const
+ std::string listToFile(const char* listName) const
{
return nameToFilenameFunc(fullDir().c_str(), listName,
extension.c_str());
}
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]