Package: twutils
Version: 0.2-7
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 twutils_0.2-7 on em64t by sbuild/amd64 1.106
...
> make[2]: Entering directory `/build/tbm/twutils-0.2/twkalc'
> c++ -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c kcalc.cpp
> kcalc.h:211: error: extra qualification 'QtCalculator::' on member 
> 'display_clicked'
> kcalc.h:216: error: extra qualification 'QtCalculator::' on member 
> 'user_wants_to_paste'
> kcalc.h:220: error: extra qualification 'QtCalculator::' on member 
> 'someclient_wants_selection'
> make[2]: *** [kcalc.o] Error 1
> make[2]: Leaving directory `/build/tbm/twutils-0.2/twkalc'


--- ./twkalc/kcalc.h~   2006-03-22 02:43:40.000000000 +0000
+++ ./twkalc/kcalc.h    2006-03-22 02:43:50.000000000 +0000
@@ -208,16 +208,16 @@
     void helpclicked();
     void set_colors();
     /* user clicked on display. let's declare we own the selection */
-    static void QtCalculator::display_clicked() {
+    static void display_clicked() {
        dpy->exportSelection();
     }
     /* user clicked to paste selection. let's ask to who owns it. */
     /* twin server BUG: we get this only if user middle-clicks outside 
gadgets/buttons */
-    static void QtCalculator::user_wants_to_paste() {
+    static void user_wants_to_paste() {
        dpy->requestSelection();
     }
     /* some client wants our selection. let's give it to him */
-    static void QtCalculator::someclient_wants_selection(TEvent *E, void *) {
+    static void someclient_wants_selection(TEvent *E, void *) {
        extern char     display_str[];
        static char buf[TW_MAX_MIMELEN];
     

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