octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #47413] string to numeric parsing problems wit


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #47413] string to numeric parsing problems with llvm libc++
Date: Tue, 15 Mar 2016 04:22:08 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0

Follow-up Comment #3, bug #47413 (project octave):

On my Debian system, I used:


/home/jwe/src/octave/configure --prefix=/usr/local/octave/dev-clang
--with-hdf5-includedir=/usr/include/hdf5/serial
--with-hdf5-libdir=/usr/lib/x86_64-linux-gnu/hdf5/serial CC="clang-3.7"
CXX="clang++-3.7 -stdlib=libc++" CFLAGS="-O0 -g" CXXFLAGS="-O0 -g" FFLAGS="-O0
-g"


and I'm seeing a build error that begins with


In file included from
/home/jwe/src/octave/libinterp/operators/op-i64-i64.cc:27:
In file included from liboctave/operators/mx-i64nda-i8.h:5:
In file included from /home/jwe/src/octave/liboctave/array/int64NDArray.h:28:
In file included from /home/jwe/src/octave/liboctave/array/intNDArray.h:28:
In file included from /home/jwe/src/octave/liboctave/array/MArray.h:29:
In file included from /home/jwe/src/octave/liboctave/array/Array.h:34:
In file included from /usr/include/c++/v1/algorithm:625:
/usr/include/c++/v1/type_traits:1195:21: error: call to '__test' is ambiguous
   typedef decltype(__test(declval<_Tp>())) type;
                    ^~~~~~
/usr/include/c++/v1/type_traits:1208:18: note: in instantiation of template
class 'std::__1::__numeric_type<octave_int<long> >' requested here
          bool = __numeric_type<_A1>::value &&
                 ^
/usr/include/c++/v1/cmath:959:14: note: in instantiation of default argument
for '__promote<octave_int<long>, octave_int<long>, void>' required here
    typename __promote<_A1, _A2>::type
             ^~~~~~~~~~~~~~~~~~~
[...]



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47413>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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