Package: annoyance-filter Severity: normal Tags: patch When building 'annoyance-filter' on amd64 with gcc-4.0, I get the following error:
statlib.w:2023: error: there are no arguments to 'begin' that depend on a template parameter, so a declaration of 'begin' must be available statlib.w:2023: error: there are no arguments to 'end' that depend on a template parameter, so a declaration of 'end' must be available statlib.w:2026: error: there are no arguments to 'size' that depend on a template parameter, so a declaration of 'size' must be available annoyance-filter.w: In member function 'void dictionaryWord::exportToBinaryFile(std::ostream&)': annoyance-filter.w:1527: warning: comparison is always true due to limited range of data type annoyance-filter.w: In member function 'void base64MIMEdecoder::initialiseDecodingTable()': annoyance-filter.w:2977: warning: array subscript has type 'char' annoyance-filter.w:2978: warning: array subscript has type 'char' annoyance-filter.w:2979: warning: array subscript has type 'char' annoyance-filter.w: In member function 'void tokenDefinition::setISO_8859defaults(unsigned int, unsigned int)': annoyance-filter.w:7160: warning: array subscript has type 'char' annoyance-filter.w:7160: warning: array subscript has type 'char' annoyance-filter.w: In member function 'void tokenDefinition::setUS_ASCIIdefaults(unsigned int, unsigned int)': annoyance-filter.w:7177: warning: array subscript has type 'char' annoyance-filter.w:7177: warning: array subscript has type 'char' annoyance-filter.w:7178: warning: array subscript has type 'char' annoyance-filter.w:7178: warning: array subscript has type 'char' make[1]: *** [annoyance-filter.o] Error 1 make[1]: Leaving directory `/annoyance-filter-1.0.0b' make: *** [build-stamp] Error 2 With the attached patch 'annoyance-filter' can be compiled on amd64 using gcc-4.0. The patch is just a workaround. A proper fix would probably add 'this->' in a few places. I tried that, but I could not find a properly working patch. Regards Andreas Jochens diff -urN ../tmp-orig/annoyance-filter-1.0.0b/debian/rules ./debian/rules --- ../tmp-orig/annoyance-filter-1.0.0b/debian/rules 2005-03-18 08:59:25.512346376 +0100 +++ ./debian/rules 2005-03-18 08:58:54.531325963 +0100 @@ -26,7 +26,7 @@ config.status: configure dh_testdir # Add here commands to configure the package. - ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + CFLAGS=-fpermissive ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info build: build-stamp -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]