Package: gphpedit Version: 0.9.91-3 Usertags: ftbfs-gcc-4.3 Tags: patch Your package fails to build with GCC 4.3. Version 4.3 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning.
You can reproduce this problem with gcc-snapshot (20070422-1 or higher) from unstable. (Currently not available for i386, but for amd64, powerpc and ia64. I hope to have i386 binaries in the archive in the near future.) > Automatic build of gphpedit_0.9.91-3 on em64t by sbuild/amd64 0.53 ... > g++ `pkg-config --cflags gtk+-2.0` -DNDEBUG -Os -Wall -Wno-missing-braces > -Wno-char-subscripts -pedantic -Os -DGTK -DSCI_LEXER -I ../include -I ../src > -c ../src/DocumentAccessor.cxx > In file included from ../src/DocumentAccessor.cxx:13: > ../include/Platform.h:305: error: extra ';' > ../include/Platform.h:306: error: extra ';' > ../include/Platform.h:446: error: extra ';' > In file included from ../src/DocumentAccessor.cxx:18: > ../src/DocumentAccessor.h:61: error: extra ';' > In file included from ../src/DocumentAccessor.cxx:22: > ../src/Document.h:31: error: extra ';' > ../src/Document.h:34: error: extra ';' > make[5]: *** [DocumentAccessor.o] Error 1 > make[5]: Leaving directory > `/build/tbm/gphpedit-0.9.91/src/gtkscintilla2/scintilla/gtk' --- src/gtkscintilla2/scintilla/src/Document.h~ 2007-04-27 08:13:37.000000000 +0000 +++ src/gtkscintilla2/scintilla/src/Document.h 2007-04-27 08:13:42.000000000 +0000 @@ -28,10 +28,10 @@ Range(Position pos=0) : start(pos), end(pos) { - }; + } Range(Position start_, Position end_) : start(start_), end(end_) { - }; + } bool Valid() const { return (start != invalidPosition) && (end != invalidPosition); --- src/gtkscintilla2/scintilla/src/DocumentAccessor.h~ 2007-04-27 08:13:48.000000000 +0000 +++ src/gtkscintilla2/scintilla/src/DocumentAccessor.h 2007-04-27 08:13:51.000000000 +0000 @@ -58,7 +58,7 @@ WindowID GetWindow() { return id; } void StartAt(unsigned int start, char chMask=31); - void SetFlags(char chFlags_, char chWhile_) {chFlags = chFlags_; chWhile = chWhile_; }; + void SetFlags(char chFlags_, char chWhile_) {chFlags = chFlags_; chWhile = chWhile_; } unsigned int GetStartSegment() { return startSeg; } void StartSegment(unsigned int pos); void ColourTo(unsigned int pos, int chAttr); --- src/gtkscintilla2/scintilla/src/Style.h~ 2007-04-27 08:14:58.000000000 +0000 +++ src/gtkscintilla2/scintilla/src/Style.h 2007-04-27 08:15:04.000000000 +0000 @@ -50,7 +50,7 @@ void ClearTo(const Style &source); bool EquivalentFontTo(const Style *other) const; void Realise(Surface &surface, int zoomLevel, Style *defaultStyle = 0, bool extraFontFlag = false); - bool IsProtected() const { return !(changeable && visible);}; + bool IsProtected() const { return !(changeable && visible);} }; #endif --- src/gtkscintilla2/scintilla/src/ExternalLexer.h~ 2007-04-27 08:15:32.000000000 +0000 +++ src/gtkscintilla2/scintilla/src/ExternalLexer.h 2007-04-27 08:15:36.000000000 +0000 @@ -37,7 +37,7 @@ const char *languageName_=0, LexerFunction fnFolder_=0) : LexerModule(language_, fnLexer_, 0, fnFolder_){ strncpy(name, languageName_, sizeof(name)); languageName = name; - }; + } virtual void Lex(unsigned int startPos, int lengthDoc, int initStyle, WordList *keywordlists[], Accessor &styler) const; virtual void Fold(unsigned int startPos, int lengthDoc, int initStyle, --- src/gtkscintilla2/scintilla/include/Platform.h~ 2007-04-27 08:13:12.000000000 +0000 +++ src/gtkscintilla2/scintilla/include/Platform.h 2007-04-27 08:13:24.000000000 +0000 @@ -302,8 +302,8 @@ Surface(const Surface &) {} Surface &operator=(const Surface &) { return *this; } public: - Surface() {}; - virtual ~Surface() {}; + Surface() {} + virtual ~Surface() {} static Surface *Allocate(); virtual void Init(WindowID wid)=0; @@ -443,7 +443,7 @@ */ class DynamicLibrary { public: - virtual ~DynamicLibrary() {}; + virtual ~DynamicLibrary() {} /// @return Pointer to function "name", or NULL on failure. virtual Function FindFunction(const char *name) = 0; --- src/gtkscintilla2/scintilla/include/WindowAccessor.h~ 2007-04-27 08:14:01.000000000 +0000 +++ src/gtkscintilla2/scintilla/include/WindowAccessor.h 2007-04-27 08:14:05.000000000 +0000 @@ -48,7 +48,7 @@ } void StartAt(unsigned int start, char chMask=31); - void SetFlags(char chFlags_, char chWhile_) {chFlags = chFlags_; chWhile = chWhile_; }; + void SetFlags(char chFlags_, char chWhile_) {chFlags = chFlags_; chWhile = chWhile_; } unsigned int GetStartSegment() { return startSeg; } void StartSegment(unsigned int pos); void ColourTo(unsigned int pos, int chAttr); -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]