Package: stroq
Version: 0.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 below.


> Automatic build of stroq_0.2-1 on bigsur by sbuild/mips 1.94
...
> g++ -c -g -Wall -O2 -I/usr/share/qt3/mkspecs/default -I. -I. 
> -I/usr/include/qt3 -o main.o main.cpp
> /usr/include/qt3/qnetworkprotocol.h:58: warning: 'class 
> QNetworkProtocolFactoryBase' has virtual functions but non-virtual destructor
> playsquare.h:149: error: extra qualification 'PlaySquare::' on member 
> 'getCurrentTheme'
> puzzle.h:82: error: extra qualification 'Puzzle::' on member 'Puzzle'
> make[1]: *** [main.o] Error 1
> make[1]: Leaving directory `/build/tbm/stroq-0.2'

--- ./playsquare.h~     2006-03-18 13:25:26.000000000 +0000
+++ ./playsquare.h      2006-03-18 13:25:30.000000000 +0000
@@ -146,7 +146,7 @@
        /**
         * Returns the index of the currently loaded theme
         */
-       static int PlaySquare::getCurrentTheme();
+       static int getCurrentTheme();
        
        /**
         * Changes the current theme
--- ./puzzle.h~ 2006-03-18 13:25:35.000000000 +0000
+++ ./puzzle.h  2006-03-18 13:25:40.000000000 +0000
@@ -79,7 +79,7 @@
         * Builds a puzzle made of PlaySquares given a code. See previous
         * method.
         */
-       Puzzle::Puzzle(QString code, QCanvas *canvas);
+       Puzzle(QString code, QCanvas *canvas);
        
        /**
         * Class destructor
--- ./selectpuzzledialog.h~     2006-03-18 13:25:52.000000000 +0000
+++ ./selectpuzzledialog.h      2006-03-18 13:25:56.000000000 +0000
@@ -67,7 +67,7 @@
        
        // The following two methods are used to get the results of the dialog
        QString getPuzzleCode();
-       int SelectPuzzleDialog::getPuzzleNumber();
+       int getPuzzleNumber();
 
 signals:
        /**

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