Package: ktechlab
Version: 0.3-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 ktechlab_0.3-2 on bigsur by sbuild/mips 1.94
...
>       mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde 
> -I/usr/include/qt3 -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 -DNDEBUG -DNO_DEBUG -O2 -Wformat-security 
> -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o 
> btreebase.o `test -f 'btreebase.cpp' || echo './'`btreebase.cpp
> pic14.h:99: error: extra qualification 'PIC14::' on member 'PIC14'
> /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/include/qt3/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]: *** [btreebase.o] Error 1


--- ./microbe/pic14.h~  2006-03-12 22:57:09.000000000 +0000
+++ ./microbe/pic14.h   2006-03-12 22:57:15.000000000 +0000
@@ -96,7 +96,7 @@
                        Delay_50S       = 4,
                };
                
-               PIC14::PIC14( Microbe * master, Type type );
+               PIC14( Microbe * master, Type type );
                ~PIC14();
                
                /**


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