3.1.52 fails to build in hppa/linux
Jaroslav Hajek
highegg at gmail.com
Sun Feb 22 09:41:04 CST 2009
On Sun, Feb 22, 2009 at 4:08 PM, Rafael Laboissiere <rafael at debian.org> wrote:
> A bug report has been filed against the octave3.1 in Debian regarding the
> failure to build the package on the hppa architecture. You will find the
> complete bug report in http://bugs.debian.org/516588, including a link to
> the full build log. In sum, it fails with errors like this:
>
> g++ -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -O2 -g oct-inttypes.cc -o pic/oct-inttypes.o
> oct-inttypes.cc:511: error: ambiguous template specialization 'mop<octave_int_cmp_op::lt>' for 'bool octave_int_cmp_op::mop(double, int64_t)'
>
> Any ideas?
>
> --
> Rafael
>
This is a bug in gcc. See, for instance,
http://www.nabble.com/Cast-ambiguity-compilation-error-td21532844.html
or any earlier thread referenced therein. Upgrading gcc should help.
I already offered creating an additive patch for older gcc versions,
but so far nobody needed it.
cheers
--
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
More information about the Octave-maintainers
mailing list