Hi. I just discovered that Octave-3.6.4 has decided it doesn't want to
build with clang-6:
...
libtool: compile: oct-cxx -DHAVE_CONFIG_H -I. -I.. -I./array
-I./cruft/misc -Inumeric -I./numeric -Ioperators -I./operators
-I./system -I./util -I../libgnu -I../libgnu -I/usr/X11/include
-I/sw/include -Wall -W -Wshadow -Wold-style-cast -Wformat
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O3 -MD
-D_THREAD_SAFE -pthread -MT array/array_libarray_la-int8NDArray.lo -MD
-MP -MF array/.deps/array_libarray_la-int8NDArray.Tpo -c
array/int8NDArray.cc -fno-common -DPIC -o
array/.libs/array_libarray_la-int8NDArray.o
In file included from array/int16NDArray.cc:28:
In file included from ./array/int16NDArray.h:26:
In file included from ./array/intNDArray.h:26:
In file included from ./array/MArray.h:28:
In file included from ./array/Array.h:32:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:624:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:1169:21:
error:
call to '__test' is ambiguous
typedef decltype(__test(declval<_Tp>())) type;
^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:504:32:
note:
expanded from macro 'decltype'
#define decltype(x) __typeof__(x)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchIn
file included from array/int32NDArray.cc:28:
In file included from
./array/int32NDArray.h:ain/usr/bin/../include/c++/v1/type_traits26:
In file included from ./array/intNDArray.h::118226::
18In file included from :./array/MArray.h :28:
In file included from note./array/Array.h: :32:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithmin:
624instantiation:
of template class
'std::__1::__numeric_type >'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traitsrequested:
1169here:21
: error:
call to '__test' is ambiguous
bool = __numeric_type<_A1>::value &&
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:959:14:
note:
in instantiation oftypedef decltype(__test(declval<_Tp>())) type;
^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:504:32:
note:
expanded from macro 'decltype'default
argument for '__promote,
octave_int, void>' required #define decltype(x)
__typeof__(x)here
^
typename __promote<_A1, _A2>::type
^~~
operators/mx-inlines.cc:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits310::118231::18
: note: note: while
substituting indeduced instantiationtemplate
of argumentstemplate intoclass
function 'std::__1::__numeric_typetemplate
>''pow' requested[with here_A1
= octave_int, _A2
= octave_int::value &&
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:959:14:
note:
in instantiation of default argument for '__promote,
octave_int, void>' required here
typename __promote<_A1, _A2>::type
^~~
operators/mx-inlines.cc:310:31: note: while substituting deduced template
arguments into function template 'pow' [with _A1 =
octave_int, _A2 =
octave_int]
DEFMXMAPPER2X (mx_inline_pow, pow)
^
operators/mx-inlines.cc:299:41: note: expanded from macro 'DEFMXMAPPER2X'
{ for (size_t i = 0; i < n; i++) r[i] = FUN (x[i], y[i]); } \
^
array/int32NDArray.cc:58:42: note: in instantiation of function template
specialization 'mx_inline_pow, octave_int,
octave_int >' requested here
rt>]
BSXFUN_OP_DEF_MXLOOP (pow, int32NDArray, mx_inline_pow)
^
DEFMXMAPPER2X (mx_inline_pow, pow)
^
numeric/bsxfun-defs.cc:219:operators/mx-inlines.cc12::299 :41:note :
expandednote : from expandedmacro from'BSXFUN_OP_DEF_MXLOOP' macro
'DEFMXMAPPER2X'
(x, y, LOOP, LOOP, LOOP); }
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:1158:17:
note:
candidate function
{ for (size_t i = 0; i < n; i++) r[i] = FUN (x[i], y[i]); } \
^
static float __test(float);
^
array/int16NDArray.cc:58:42:
no/Applications/Xcode.app/Contents/