Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#357340: ifrit: FTBFS with G++ 4.1: extra qualification

1 view
Skip to first unread message

Martin Michlmayr

unread,
Mar 16, 2006, 3:20:15 PM3/16/06
to
Package: ifrit
Version: 2.9.4-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 ifrit_2.9.4-1 on bigsur by sbuild/mips 1.94
...
> g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/X11R6/include -I/usr/include/vtk -I/usr/include/vtk/Common -I/usr/include/vtk/Filtering -I/usr/include/vtk/Graphics -I/usr/include/vtk/Hybrid -I/usr/include/vtk/Imaging -I/usr/include/vtk/IO -I/usr/include/vtk/Parallel -I/usr/include/vtk/Patented -I/usr/include/vtk/Rendering -I. -I/usr/include/qt3 -I.ui/ -I.moc/ -o .obj/ihistogrammaker.o ihistogrammaker.cpp
> In file included from /usr/lib/gcc/mips-linux-gnu/4.1.0/../../../../include/c++/4.1.0/backward/strstream:51,
> from /usr/include/vtk/vtkIOStream.h:32,
> from /usr/include/vtk/vtkSystemIncludes.h:40,
> from /usr/include/vtk/vtkIndent.h:24,
> from /usr/include/vtk/vtkObjectBase.h:43,
> from /usr/include/vtk/vtkObject.h:41,
> from /usr/include/vtk/vtkProcessObject.h:45,
> from /usr/include/vtk/vtkSource.h:45,
> from /usr/include/vtk/vtkDataSetSource.h:22,
> from ihistogrammaker.h:55,
> from ihistogrammaker.cpp:41:
> /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.
> /usr/include/vtk/vtkIndent.h:30: warning: 'class vtkIndent' has virtual functions but non-virtual destructor
> /usr/include/vtk/vtkTimeStamp.h:29: warning: 'class vtkTimeStamp' has virtual functions but non-virtual destructor
> ipiecewisefunction.h:58: error: extra qualification 'iPiecewiseFunction::' on member 'getFunctionN'
> ipiecewisefunction.h:59: error: extra qualification 'iPiecewiseFunction::' on member 'getFunctionX'
> ipiecewisefunction.h:60: error: extra qualification 'iPiecewiseFunction::' on member 'getFunctionY'
> ipiecewisefunction.h:61: error: extra qualification 'iPiecewiseFunction::' on member 'getFunctionMin'
> ipiecewisefunction.h:62: error: extra qualification 'iPiecewiseFunction::' on member 'getFunctionMax'
> make[1]: *** [.obj/ihistogrammaker.o] Error 1


--- ./ipiecewisefunction.h~ 2006-03-16 19:30:36.000000000 +0000
+++ ./ipiecewisefunction.h 2006-03-16 19:30:50.000000000 +0000
@@ -55,11 +55,11 @@
iPiecewiseFunction(float yleft=0.0, float yright=1.0);
virtual ~iPiecewiseFunction();

- inline int iPiecewiseFunction::getFunctionN(){ return opan; }
- inline float* iPiecewiseFunction::getFunctionX(){ return opax; }
- inline float* iPiecewiseFunction::getFunctionY(){ return opay; }
- inline float iPiecewiseFunction::getFunctionMin(){ return opaymin; }
- inline float iPiecewiseFunction::getFunctionMax(){ return opaymax; }
+ inline int getFunctionN(){ return opan; }
+ inline float* getFunctionX(){ return opax; }
+ inline float* getFunctionY(){ return opay; }
+ inline float getFunctionMin(){ return opaymin; }
+ inline float getFunctionMax(){ return opaymax; }
inline vtkPiecewiseFunction *getVTKFunction(){ return vtkof; }

virtual void setFunctionLimits(float ymin, float ymax);

--
Martin Michlmayr
http://www.cyrius.com/


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Nick Gnedin

unread,
Mar 17, 2006, 3:20:11 AM3/17/06
to

Martin,

Try now.

Nick


On 3/16/06, Martin Michlmayr < t...@cyrius.com> wrote:
Package: ifrit
Version: 2.9.4-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 ifrit_2.9.4-1 on bigsur by sbuild/mips 1.94
...
> g++ -c -pipe -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/X11R6/include -I/usr/include/vtk -I/usr/include/vtk/Common -I/usr/include/vtk/Filtering -I/usr/include/vtk/Graphics -I/usr/include/vtk/Hybrid -I/usr/include/vtk/Imaging -I/usr/include/vtk/IO -I/usr/include/vtk/Parallel -I/usr/include/vtk/Patented -I/usr/include/vtk/Rendering -I. -I/usr/include/qt3 - I.ui/ -I.moc/ -o .obj/ihistogrammaker.o ihistogrammaker.cpp

Mark Hymers

unread,
Mar 17, 2006, 6:10:15 AM3/17/06
to
On Fri, 17, Mar, 2006 at 02:12:24AM -0600, Nick Gnedin spoke thus..
> Martin,
>
> Try now.

Martin,

Nick has applied this patch upstream in 2.9.6 which I'll upload to
Debian this weekend.

(Thanks for sorting this out so quickly Nick).

Mark

--
Mark Hymers <mark....@ncl.ac.uk>

"I told you I was ill"
The epitaph of Spike Milligan (1918-2002)

0 new messages