[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43298] LLVM 3.5.0 cannot resolve the pow(octa
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #43298] LLVM 3.5.0 cannot resolve the pow(octave_int<int>, octave_Int<int>) function overload |
Date: |
Sat, 11 Oct 2014 17:55:57 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10) AppleWebKit/600.1.25 (KHTML, like Gecko) Version/8.0 Safari/600.1.25 |
Follow-up Comment #23, bug #43298 (project octave):
hi john,
thanks for looking at my patch. i am posting it in this bug. will see if i can
close the one in patch tracker.
> but rather than testing for library version numbers, we would prefer feature
tests in the configure script.
so you are suggesting an approach something like this?
0 m4: have another m4 macro (CHECK_FOR_BAD_LIBCXX_POW) which includes a
minimal c++ test which reproduces this issue. if the c++ file fails to
compile, a variable named "BAD_LIBCXX_POW" is defined:
0 configure.ac: use AM_CONDITION to propagate this variable in the way of
"-DWITH_LIBCXX_POW_WORKAROUND) to related makefiles (i.e. {array, numeric,
operators}/module.mk)
0 liboctave: replace the nasty macro of
#if defined(_LIBCPP_VERSION) && (_LIBCPP_VERSION >= 1101)
with
#ifdef WITH_LIBCXX_POW_WORKAROUND
(file #32255)
_______________________________________________________
Additional Item Attachment:
File name: clang-libcxx-fix.patch Size:3 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43298>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43298] LLVM 3.5.0 cannot resolve the pow(octave_int<int>, octave_Int<int>) function overload, anonymous, 2014/10/11
- [Octave-bug-tracker] [bug #43298] LLVM 3.5.0 cannot resolve the pow(octave_int<int>, octave_Int<int>) function overload, John W. Eaton, 2014/10/11
- [Octave-bug-tracker] [bug #43298] LLVM 3.5.0 cannot resolve the pow(octave_int<int>, octave_Int<int>) function overload,
anonymous <=
- [Octave-bug-tracker] [bug #43298] LLVM 3.5.0 cannot resolve the pow(octave_int<int>, octave_Int<int>) function overload, Jordi Gutiérrez Hermoso, 2014/10/15
- [Octave-bug-tracker] [bug #43298] LLVM 3.5.0 cannot resolve the pow(octave_int<int>, octave_Int<int>) function overload, Jordi Gutiérrez Hermoso, 2014/10/15
- [Octave-bug-tracker] [bug #43298] LLVM 3.5.0 cannot resolve the pow(octave_int<int>, octave_Int<int>) function overload, John W. Eaton, 2014/10/15
- [Octave-bug-tracker] [bug #43298] LLVM 3.5.0 cannot resolve the pow(octave_int<int>, octave_Int<int>) function overload, Kefu Chai, 2014/10/15
- [Octave-bug-tracker] [bug #43298] LLVM 3.5.0 cannot resolve the pow(octave_int<int>, octave_Int<int>) function overload, Kefu Chai, 2014/10/15
- [Octave-bug-tracker] [bug #43298] LLVM 3.5.0 cannot resolve the pow(octave_int<int>, octave_Int<int>) function overload, Jordi Gutiérrez Hermoso, 2014/10/16
- [Octave-bug-tracker] [bug #43298] LLVM 3.5.0 cannot resolve the pow(octave_int<int>, octave_Int<int>) function overload, Kefu Chai, 2014/10/16
- [Octave-bug-tracker] [bug #43298] LLVM 3.5.0 cannot resolve the pow(octave_int<int>, octave_Int<int>) function overload, Kefu Chai, 2014/10/17