[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#357999: FTBFS with G++ 4.1: extra qualification



Package: tulip
Version: 2.0.2-7.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 tulip_2.0.2-7.1 on bigsur by sbuild/mips 1.106
...
>  g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include -I../../../library/tulip-qt/include -D_REENTRANT -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/usr/share/qt3/include -I../../../library/tulip/include -I../../../library/tulip-ogl/include -DNDEBUG -O2 -pipe -MT FindSelection.lo -MD -MP -MF .deps/FindSelection.Tpo -c FindSelection.cpp  -fPIC -DPIC -o .libs/FindSelection.o
> ../../../library/tulip-qt/include/tulip/FindSelection.h:26: error: extra qualification 'SelectionWidget::' on member 'SelectionWidget'
> ../../../library/tulip/include/tulip/MutableContainer.h: In member function 'void MutableContainer<TYPE>::set(unsigned int, const TYPE&)':
> ../../../library/tulip/include/tulip/MutableContainer.h:189: warning: minimum/maximum operators are deprecated
> ../../../library/tulip/include/tulip/MutableContainer.h:189: warning: minimum/maximum operators are deprecated
> ../../../library/tulip/include/tulip/MutableContainer.h:249: warning: minimum/maximum operators are deprecated
> ../../../library/tulip/include/tulip/MutableContainer.h:250: warning: minimum/maximum operators are deprecated
> ../../../library/tulip/include/tulip/MutableContainer.h: In member function 'void MutableContainer<TYPE>::vecttohash()':
> ../../../library/tulip/include/tulip/MutableContainer.h:291: warning: minimum/maximum operators are deprecated
> ../../../library/tulip/include/tulip/MutableContainer.h:292: warning: minimum/maximum operators are deprecated
> make[6]: *** [FindSelection.lo] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/
--- ./library/tulip-qt/include/tulip/FindSelection.h~	2006-03-20 16:55:27.000000000 +0000
+++ ./library/tulip-qt/include/tulip/FindSelection.h	2006-03-20 16:55:49.000000000 +0000
@@ -22,8 +22,8 @@
 class TLP_QT_SCOPE SelectionWidget : FindSelection {
   Q_OBJECT
     public:
-  SelectionWidget::SelectionWidget(SuperGraph *superGraph, QWidget *parent = 0, const char *name = 0,
-				   WFlags fl = 0);
+  SelectionWidget(SuperGraph *superGraph, QWidget *parent = 0, const char *name = 0,
+		   WFlags fl = 0);
   int exec();
 
  private:
--- ./plugins/glyph/cone.cpp~	2006-03-20 17:06:12.000000000 +0000
+++ ./plugins/glyph/cone.cpp	2006-03-20 17:06:19.000000000 +0000
@@ -18,7 +18,7 @@
   virtual string getName() {return string("Cone");}

   virtual void draw(node n);

   virtual void setLOD(int n);

-  virtual Coord Cone::getAnchor(const Coord &vector) const;

+  virtual Coord getAnchor(const Coord &vector) const;

 

 private:

   GLuint LList;


Reply to: