[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bsxfun-defs.cc compilation error with 64-bit integers
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: bsxfun-defs.cc compilation error with 64-bit integers |
Date: |
Thu, 13 Oct 2011 22:06:45 -0500 |
On 13 October 2011 20:45, Muhali <address@hidden> wrote:
> When I try to compile lo-specfun.cc in liboctave using 64-bit integers I get:
>
> $> g++ -DHAVE_CONFIG_H -I.. -I../libcruft/misc -c lo-specfun.cc
> In file included from bsxfun.h:66,
> from mx-inlines.cc:40,
> from lo-specfun.cc:46:
> bsxfun-defs.cc: In function ‘void do_inplace_bsxfun_op(Array<T>&, const
> Array<X>&, void (*)(size_t, R*, const X*), void (*)(size_t, R*, X))’:
> bsxfun-defs.cc:179: error: no matching function for call to
> ‘max(octave_idx_type&, int)’
>
> This can be avoided by applying this change (not sure whether that makes
> sense):
>
Somehow looks like Nabble didn't send the actual patch to the mailng list.
That patch is definitely wrong. Did you confuse 1 with l?
I applied this one instead:
http://hg.savannah.gnu.org/hgweb/octave/rev/782dc237a02d
Thanks for reporting this,
- Jordi G. H.