octave-maintainers
[Top][All Lists]
Advanced

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

Re: 3.1.52 fails to build in hppa/linux


From: Jaroslav Hajek
Subject: Re: 3.1.52 fails to build in hppa/linux
Date: Sun, 22 Feb 2009 16:41:04 +0100

On Sun, Feb 22, 2009 at 4:08 PM, Rafael Laboissiere <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]