[Pkg-octave-devel] Bug#356634: FTBFS with G++ 4.1: extra qualification
Package: octave2.9
Version: 2.9.4-12
Severity: important
Tags: patch
Your package makes other packages fail 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.
(Same bug/patch as in octave2.1.)
> Automatic build of octave2.9_2.9.4-12 on bigsur by sbuild/mips 1.94
...
> /usr/bin/g++ -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -Wall -W -Wshadow -O2 Cell.cc -o pic/Cell.o
> oct-obj.h:99: error: extra qualification 'octave_value_list::' on member 'resize'
> make[3]: *** [pic/Cell.o] Error 1
--- ./debian/patches/50_octave-value-list-resize-2.9.dpatch~ 2006-03-13 01:42:15.000000000 +0000
+++ ./debian/patches/50_octave-value-list-resize-2.9.dpatch 2006-03-13 01:42:35.000000000 +0000
@@ -15,7 +15,7 @@
void resize (octave_idx_type n) { data.resize (n); }
- void resize (octave_idx_type n, const octave_value& val);
-+ void octave_value_list::resize (octave_idx_type n, const octave_value& val)
++ void resize (octave_idx_type n, const octave_value& val)
+ {
+ octave_idx_type len = length ();
+
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: