Package: tellico
Version: 1.1.1-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 tellico_1.1.1-2 on bigsur by sbuild/mips 1.94
...
> if mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde 
> -I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  
> -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align 
> -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG 
> -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute 
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -MT 
> libcollections_a.all_cpp.o -MD -MP -MF ".deps/libcollections_a.all_cpp.Tpo" 
> -c -o libcollections_a.all_cpp.o libcollections_a.all_cpp.cpp; \
>       then mv -f ".deps/libcollections_a.all_cpp.Tpo" 
> ".deps/libcollections_a.all_cpp.Po"; else rm -f 
> ".deps/libcollections_a.all_cpp.Tpo"; exit 1; fi
> ../document.h:205: error: extra qualification 'Tellico::Data::Document::' on 
> member 'pruneImages'
> /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/bits/basic_string.h:
>  In member function 'std::basic_string<_CharT, _Traits, _Alloc>::_Rep* 
> std::basic_string<_CharT, _Traits, _Alloc>::_M_rep() const [with _CharT = 
> char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]':
> /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/bits/basic_string.h:478:
>    instantiated from 'std::basic_string<_CharT, _Traits, 
> _Alloc>::~basic_string() [with _CharT = char, _Traits = 
> std::char_traits<char>, _Alloc = std::allocator<char>]'
> /usr/share/qt3/include/qstring.h:667:   instantiated from here
> /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/bits/basic_string.h:283:
>  warning: cast from 'char*' to 'std::basic_string<char, 
> std::char_traits<char>, std::allocator<char> >::_Rep*' increases required 
> alignment of target type
> make[4]: *** [libcollections_a.all_cpp.o] Error 1
> make[4]: Leaving directory `/build/tbm/tellico-1.1.1/src/collections'


--- ./src/document.h~   2006-03-17 18:03:44.000000000 +0000
+++ ./src/document.h    2006-03-17 18:03:48.000000000 +0000
@@ -202,7 +202,7 @@
    * @param entry A pointer to the entry
    */
   void saveEntry(EntryPtr entry);
-  bool Document::pruneImages();
+  bool pruneImages();
 
   // make all constructors private
   Document();

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to