--- Begin Message ---
Package: kmatplot
Version: 0.4-8
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 kmatplot_0.4-8 on bigsur by sbuild/mips 1.94
...
> make[4]: Entering directory `/build/tbm/kmatplot-0.4/kmatplot/formula'
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -pthread -O0 -fno-exceptions -fno-check-new -c mpsymbol.cpp
> In file included from /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/deque.h:59,
> from mpsymbol.h:21,
> from mpsymbol.cpp:18:
> /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -pthread -O0 -fno-exceptions -fno-check-new -c mpsymbols.cpp
> In file included from /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/deque.h:59,
> from mpsymbol.h:21,
> from mpsymbols.h:21,
> from mpsymbols.cpp:18:
> /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -pthread -O0 -fno-exceptions -fno-check-new -c mpparsersymbol.cpp
> In file included from /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/deque.h:59,
> from mpsymbol.h:21,
> from mpparsersymbol.h:22,
> from mpparsersymbol.cpp:18:
> /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -pthread -O0 -fno-exceptions -fno-check-new -c mpparser.cpp
> In file included from /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/deque.h:59,
> from mpsymbol.h:21,
> from mpparsersymbol.h:22,
> from mpformula.h:24,
> from mpparser.cpp:24:
> /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -pthread -O0 -fno-exceptions -fno-check-new -c mpformula.cpp
> In file included from /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/deque.h:59,
> from mpsymbol.h:21,
> from mpparsersymbol.h:22,
> from mpformula.h:24,
> from mpformula.cpp:18:
> /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
> mpformula.cpp: In member function 'MPSymbol* MPFormula::parse(const QString&, MPError&, MPFactoryList*)':
> mpformula.cpp:130: error: 'yyparse' was not declared in this scope
> make[4]: *** [mpformula.o] Error 1
[and later lots of other errors]
--- ./kmatplot/formula/mpformula.h~ 2006-03-13 13:55:54.000000000 +0000
+++ ./kmatplot/formula/mpformula.h 2006-03-13 13:56:04.000000000 +0000
@@ -42,6 +42,9 @@
* MPSymbol *QSFormula::parse( const QString& formula, MPError& error, FactoryList *locals )
* @author Kamil
*/
+
+int yyparse( void *formula_ptr );
+
class MPFormula {
friend int yylex( MPParserSymbol *symbol_value, void *location_info_ptr, void *formula_ptr );
friend void yyerr( const char *message, void *location_info_ptr, void *formula_ptr );
--- ./kmatplot/widgets/qsgattr.h~ 2006-03-13 13:56:40.000000000 +0000
+++ ./kmatplot/widgets/qsgattr.h 2006-03-13 14:05:19.000000000 +0000
@@ -39,6 +39,10 @@
* \brief Color definition.
* @author Kamil Dobkowski
*/
+
+class QSGColor;
+QSGColor toQSGColor( const QString& s );
+
class QSGColor : public QSGAttr {
public:
unsigned char r;
@@ -69,6 +73,10 @@
* \brief Font definition.
* @author Kamil Dobkowski
*/
+
+class QSGFont;
+QSGFont toQSGFont( const QString& string );
+
class QSGFont : public QSGAttr {
public:
QString family;
@@ -94,6 +102,10 @@
* \brief Line style definition.
* @author Kamil Dobkowski
*/
+
+class QSGLine;
+QSGLine toQSGLine( const QString& string );
+
class QSGLine : public QSGAttr {
public:
@@ -129,6 +141,10 @@
* \brief Fill definition.
* @author Kamil Dobkowski
*/
+
+class QSGFill;
+QSGFill toQSGFill( const QString& string );
+
class QSGFill : public QSGAttr {
public:
@@ -168,6 +184,10 @@
* \brief Point mark style definition
* @author Kamil Dobkowski
*/
+
+class QSGPoint;
+QSGPoint toQSGPoint( const QString& string );
+
class QSGPoint : public QSGAttr {
public:
@@ -209,6 +229,10 @@
* \brief Arrow dart style definition
* @author Kamil Dobkowski
*/
+
+class QSGArrow;
+QSGArrow toQSGArrow( const QString& string );
+
class QSGArrow: public QSGAttr {
public:
@@ -252,6 +276,10 @@
* Gradient is an object which returns a fill style for each parameter value between 0.0 and 1.0, see fill()
*@author kamil
*/
+
+class QSGGradient;
+QSGGradient toQSGGradient( const QString& string );
+
class QSGGradient : public QSGAttr {
public:
--- ./kmatplot/kswinworksheet.h~ 2006-03-13 14:08:37.000000000 +0000
+++ ./kmatplot/kswinworksheet.h 2006-03-13 14:08:41.000000000 +0000
@@ -40,7 +40,7 @@
public:
KSWinWorksheet( KSWorkspace *workspace, bool worksheetMode );
virtual ~KSWinWorksheet();
- void KSWinWorksheet::setDataObject( QSData *data );
+ void setDataObject( QSData *data );
KSChannelList *chanList() const;
KSChannelListItem *selectedItem() const;
KSMPanel *settingsPanel() const;
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---