[Pkg-octave-devel] Bug#355980: Makes other packages FTBFS with G++ 4.1:

Martin Michlmayr tbm at cyrius.com
Thu Mar 9 07:55:21 UTC 2006


severity 355980 FTBFS with G++ 4.1: misc errors
tags 355980 - patch
thanks

Bad news.  I just compiled your package and I get a number of other
problems with 4.1.  Unfortunately I don't know how to fix them, but
shouldn't be too hard for someon who knows C++.  Below are the errors.
Note that the compile hasn't finished yet but I really need to go to
sleep now, so there might be other issues.  You can find G++ 4.1 in
experimental.


/usr/bin/g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -O2 CMatrix.cc -o pic/CMatrix.o
CMatrix.cc: In function ‘ComplexMatrix operator*(const ColumnVector&, const ComplexRowVector&)’:
CMatrix.cc:2263: error: conversion from ‘Complex’ to non-scalar type ‘ComplexMatrix’ requested
CMatrix.cc: In function ‘ComplexMatrix operator*(const ComplexColumnVector&, const RowVector&)’:
CMatrix.cc:2270: error: conversion from ‘Complex’ to non-scalar type ‘ComplexMatrix’ requested
make[3]: *** [pic/CMatrix.o] Error 1


/usr/bin/g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -g -O2 ls-mat4.cc -o pic/ls-mat4.o
ls-mat4.cc: In function ‘bool save_mat_binary_data(std::ostream&, const octave_value&, const std::string&)’:
ls-mat4.cc:476: error: cannot convert ‘ComplexMatrix’ to ‘double’ for argument ‘1’ to ‘double real(double)’
ls-mat4.cc:478: error: cannot convert ‘ComplexMatrix’ to ‘double’ for argument ‘1’ to ‘double imag(double)’
make[2]: *** [pic/ls-mat4.o] Error 1


/usr/bin/g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -g -O2 ls-mat5.cc -o pic/ls-mat5.o
ls-mat5.cc: In function ‘bool save_mat5_binary_element(std::ostream&, const octave_value&, const std::string&, bool, bool)’:
ls-mat5.cc:1185: error: cannot convert ‘ComplexNDArray’ to ‘double’ for argument ‘1’ to ‘double real(double)’
ls-mat5.cc:1186: error: cannot convert ‘ComplexNDArray’ to ‘double’ for argument ‘1’ to ‘double imag(double)’


/usr/bin/g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -g -O2 pr-output.cc -o pic/pr-output.o
pr-output.cc: In function ‘void set_format(const ComplexMatrix&, int&, int&, double&)’:
pr-output.cc:869: error: cannot convert ‘const ComplexMatrix’ to ‘double’ for argument ‘1’ to ‘double real(double)’
pr-output.cc:870: error: cannot convert ‘const ComplexMatrix’ to ‘double’ for argument ‘1’ to ‘double imag(double)’


/usr/bin/g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -g -O2 ov-cx-mat.cc -o pic/ov-cx-mat.o
ls-hdf5.h:70: warning: unused parameter ‘prot’
ov-cx-mat.cc: In member function ‘virtual octave_value* octave_complex_matrix::try_narrowing_conversion()’:
ov-cx-mat.cc:89: error: cannot convert ‘ComplexMatrix’ to ‘double’ for argument ‘1’ to ‘double real(double)’
ov-cx-mat.cc:92: error: cannot convert ‘ComplexNDArray’ to ‘double’ for argument ‘1’ to ‘double real(double)’
ov-cx-mat.cc: In member function ‘virtual Matrix octave_complex_matrix::matrix_value(bool) const’:
ov-cx-mat.cc:154: error: cannot convert ‘ComplexMatrix’ to ‘double’ for argument ‘1’ to ‘double real(double)’
make: *** [pic/ov-cx-mat.o] Error 1


/usr/bin/g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -g -O2 pt-binop.cc -o pic/pt-binop.o
pt-binop.cc: In member function ‘virtual octave_value tree_binary_expression::rvalue()’:
pt-binop.cc:79: error: ‘::do_binary_op’ has not been declared


/usr/bin/g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc  -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -g -O2 pt-unop.cc -o pic/pt-unop.o
pt-unop.cc: In member function ‘virtual octave_value tree_prefix_expression::rvalue()’:
pt-unop.cc:102: error: ‘::do_unary_op’ has not been declared
pt-unop.cc: In member function ‘virtual octave_value tree_postfix_expression::rvalue()’:
pt-unop.cc:187: error: ‘::do_unary_op’ has not been declared

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




More information about the Pkg-octave-devel mailing list