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: Marco Atzeri
Subject: Re: 3.1.52 fails to build in hppa/linux
Date: Sun, 22 Feb 2009 19:32:32 +0000 (GMT)

--- Dom 22/2/09, Jaroslav Hajek  ha scritto:

> Da: Jaroslav Hajek 
> Oggetto: Re: 3.1.52 fails to build in hppa/linux
> A: address@hidden
> Data: Domenica 22 febbraio 2009, 19:40
> On Sun, Feb 22, 2009 at 5:21 PM, Rafael Laboissiere
>  wrote:
> > * Jaroslav Hajek  [2009-02-22
> 16:41]:
> >
> >> On Sun, Feb 22, 2009 at 4:08 PM, Rafael
> Laboissiere  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
[cut]
> >
> > --
> > Rafael
> >
> 
> Rafael,
> 
> can you try compiling (no need to link) the following test
> code? It
> should be a simple instance of the same issue.
> 
> class A {};
> 
> template <class X, class T> void method (double u, T
> v);
> 
> template <class X> void method (double u, long v);
> 
> int main ()
> {
>   double u; long v;
>   method<A> (u, v);
> }
> 
> If you get a failure, then you have a buggy gcc.
> 
> -- 
> RNDr. Jaroslav Hajek

Hi Jaroslav,
your test compile fine on cygwin with gcc-4.4.3.

I suspect it is more an issue around int64_t and uint64_t
as all the errors go in couple:

../../octave_local/liboctave/oct-inttypes.cc:514: error: ambiguous template 
specialization 'mop<octave_int_cmp_op::ge>' for 'bool 
octave_int_cmp_op::mop(int64_t, double)'
../../octave_local/liboctave/oct-inttypes.cc:514: error: ambiguous template 
specialization 'mop<octave_int_cmp_op::ge>' for 'bool 
octave_int_cmp_op::mop(uint64_t, double)'

Regards
Marco


      Passa a Yahoo! Mail.

La webmail che ti offre GRATIS spazio illimitato, 
antispam e messenger integrato.
http://it.mail.yahoo.com/              



reply via email to

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