Package: kmobiletools
Version: 0.4.3.1-5
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 kmobiletools_0.4.3.1-5 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
> -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
> -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
> -Wpointer-arith -Wwrite-strings -O2 -Wformat-security
> -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT
> d_smslist.o -MD -MP -MF ".deps/d_smslist.Tpo" -c -o d_smslist.o
> d_smslist.cpp; \
> then mv -f ".deps/d_smslist.Tpo" ".deps/d_smslist.Po"; else rm -f
> ".deps/d_smslist.Tpo"; exit 1; fi
> d_smslist.cpp:202:18: warning: "/*" within comment
> d_smslist.cpp:208:1: warning: "/*" within comment
> /usr/include/kde/kresources/manager.h:59: warning: 'class
> KRES::ManagerNotifier' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:69: warning: 'struct QUBuffer' has
> virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:77: warning: 'struct QUType' has
> virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:104: warning: 'struct QUType_Null'
> has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:287: warning: 'struct QUType_enum'
> has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:307: warning: 'struct QUType_ptr'
> has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:326: warning: 'struct QUType_iface'
> has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:345: warning: 'struct QUType_idisp'
> has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:364: warning: 'struct QUType_bool'
> has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:383: warning: 'struct QUType_int'
> has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:403: warning: 'struct QUType_double'
> has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:423: warning: 'struct
> QUType_charstar' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:444: warning: 'struct
> QUType_QString' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucomextra_p.h:65: warning: 'struct
> QUType_QVariant' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucomextra_p.h:87: warning: 'struct
> QUType_varptr' has virtual functions but non-virtual destructor
> d_smslist.cpp: In member function 'void
> d_SMSList::selectionChanged(QListViewItem*)':
> d_smslist.cpp:187: warning: statement has no effect
> d_smslist.cpp:196: error: unknown escape sequence '\.'
> /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]: *** [d_smslist.o] Error 1
--- ./kmobiletools/kmobiletools/d_smslist.cpp~ 2006-03-16 18:38:09.000000000
+0000
+++ ./kmobiletools/kmobiletools/d_smslist.cpp 2006-03-16 18:38:29.000000000
+0000
@@ -193,7 +193,7 @@
repl_link.setCaseSensitive(false);
repl_link.setPattern("\\b(http://\\S+)\\b");
smsText=smsText.replace( repl_link, "<a href=\"\\1\">\\1</a>");
- repl_link.setPattern("(\\s)(www\.\\S+)\\b");
+ repl_link.setPattern("(\\s)(www\\.\\S+)\\b");
smsText=smsText.replace( repl_link, "\\1<a
href=\"http://\\2\">\\2</a>");
repl_link.setPattern("\\b([EMAIL PROTECTED])\\b");
smsText=smsText.replace( repl_link, "<a href=\"mailto:\\1\">\\1</a>");
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]