help-octave
[Top][All Lists]
Advanced

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

bsxfun-defs.cc compilation error with 64-bit integers


From: Muhali
Subject: bsxfun-defs.cc compilation error with 64-bit integers
Date: Thu, 13 Oct 2011 18:45:02 -0700 (PDT)

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):


--
View this message in context: 
http://octave.1599824.n4.nabble.com/bsxfun-defs-cc-compilation-error-with-64-bit-integers-tp3903510p3903510.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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