Package: syncekonnector
Version: 0.3.2-1
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 attached.


> Automatic build of syncekonnector_0.3.2-1 on bigsur by sbuild/mips 1.106
...
> if /bin/sh ../libtool --silent --tag=CXX --mode=compile mips-linux-gnu-g++ 
> -DHAVE_CONFIG_H -I. -I. -I.. -I../libksynce -I../includes -I/usr/include/kde 
> -I/usr/share/qt3/include -I/usr/X11R6/include     
> -I/usr/include/kde/kitchensync  -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 -O2 -Wformat-security 
> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions 
> -fno-check-new -fno-common  -MT pimsyncmanager.lo -MD -MP -MF 
> ".deps/pimsyncmanager.Tpo" -c -o pimsyncmanager.lo pimsyncmanager.cpp; \
>       then mv -f ".deps/pimsyncmanager.Tpo" ".deps/pimsyncmanager.Plo"; else 
> rm -f ".deps/pimsyncmanager.Tpo"; exit 1; fi
> ./synceengine.h:89: error: extra qualification 'KSync::SynCEEngine::' on 
> member 'templateSyncee'
> /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[3]: *** [pimsyncmanager.lo] Error 1


--- ./librakikpimsync/synceengine.h~    2006-03-21 03:08:54.000000000 +0000
+++ ./librakikpimsync/synceengine.h     2006-03-21 03:09:13.000000000 +0000
@@ -86,7 +86,7 @@
 
   private:
     void doSync();
-    template<class T> T  *SynCEEngine::templateSyncee(SynceeList *synceeList) 
const;
+    template<class T> T  *templateSyncee(SynceeList *synceeList) const;
 
     Konnector::List mOpenedKonnectors;
     Konnector::List mProcessedKonnectors;

-- 
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