Package: scite
Version: 1.71-1
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 scite_1.71-1 on em64t by sbuild/amd64 0.53
...
> dh_testdir
> cd scintilla/gtk; /usr/bin/make GTK2=1 NO_LUA=1
> make[1]: Entering directory `/build/tbm/scite-1.71/scintilla/gtk'
> 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[1]: *** [DocumentAccessor.o] Error 1
> make[1]: Leaving directory `/build/tbm/scite-1.71/scintilla/gtk'
--- scintilla/include/Platform.h~ 2007-04-26 16:08:31.000000000 +0000
+++ scintilla/include/Platform.h 2007-04-26 16:08:43.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;
--- scintilla/include/WindowAccessor.h~ 2007-04-26 16:09:10.000000000 +0000
+++ scintilla/include/WindowAccessor.h 2007-04-26 16:09:13.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);
--- scintilla/src/DocumentAccessor.h~ 2007-04-26 16:08:48.000000000 +0000
+++ scintilla/src/DocumentAccessor.h 2007-04-26 16:08:53.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);
--- scintilla/src/Document.h~ 2007-04-26 16:08:57.000000000 +0000
+++ scintilla/src/Document.h 2007-04-26 16:09:01.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);
--- scintilla/src/Style.h~ 2007-04-26 16:09:27.000000000 +0000
+++ scintilla/src/Style.h 2007-04-26 16:09:30.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
--- scintilla/src/ExternalLexer.h~ 2007-04-26 16:09:59.000000000 +0000
+++ scintilla/src/ExternalLexer.h 2007-04-26 16:10:01.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,
--- scite/src/SciTEBase.h~ 2007-04-26 16:12:17.000000000 +0000
+++ scite/src/SciTEBase.h 2007-04-26 16:13:02.000000000 +0000
@@ -639,11 +639,11 @@
void DiscoverIndentSetting();
SString DiscoverLanguage(const char *buf, size_t length);
void OpenFile(int fileSize, bool suppressMessage);
- virtual void OpenUriList(const char *) {};
+ virtual void OpenUriList(const char *) {}
virtual bool OpenDialog(FilePath directory, const char *filter) = 0;
virtual bool SaveAsDialog() = 0;
- virtual void LoadSessionDialog() { };
- virtual void SaveSessionDialog() { };
+ virtual void LoadSessionDialog() { }
+ virtual void SaveSessionDialog() { }
void CountLineEnds(int &linesCR, int &linesLF, int &linesCRLF);
enum OpenFlags {
ofNone=0, // Default
@@ -684,8 +684,8 @@
FilePath GetAbbrevPropertiesFileName();
void OpenProperties(int propsFile);
int GetMenuCommandAsInt(SString commandName);
- virtual void Print(bool) {};
- virtual void PrintSetup() {};
+ virtual void Print(bool) {}
+ virtual void PrintSetup() {}
CharacterRange GetSelection();
void SetSelection(int anchor, int currentPos);
// void SelectionExtend(char *sel, int len, char *notselchar);
@@ -770,7 +770,7 @@
void CloseAllBuffers(bool loadingSession = false);
int SaveAllBuffers(bool forceQuestion, bool alwaysYes=false);
void SaveTitledBuffers();
- virtual void CopyAsRTF() {};
+ virtual void CopyAsRTF() {}
void SetLineNumberWidth();
void MenuCommand(int cmdID, int source=0);
void FoldChanged(int line, int levelNow, int levelPrev);
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]