On Nov 7, 2014, at 3:55 PM, Alexander Hansen <alexanderk.han...@gmail.com> wrote:
> > On Nov 4, 2014, at 3:58 PM, Alexander Hansen <alexanderk.han...@gmail.com> > wrote: > >> >> On Nov 2, 2014, at 3:10 AM, Dominique Dhumieres <domi...@lps.ens.fr> wrote: >> >>> Installing ocs-oct382-0.1.3-7 failed on >>> >>> Package manager version: 0.38.2 >>> Distribution version: selfupdate-rsync Sun Nov 2 11:31:29 2014, 10.10, >>> x86_64 >>> Trees: local/main stable/main stable/crypto >>> Xcode.app: 6.1 >>> Xcode command-line tools: 6.1.0.0.1.1413057044 >>> ocs-oct382-0.1.3-7 is set to build with only one job. >>> >>> with >>> >>> ... >>> ans = >>> /sw64/src/fink.build/ocs-oct382-0.1.3-7/bld/share/octave/3.8.2/packages >>> mkdir (/var/tmp/oct-B46N42) >>> untar (./ocs.tar, /var/tmp/oct-B46N42) >>> make: on entre dans le repertoire/private/var/tmp/oct-B46N42/ocs/src >>> mkoctfile Mshichmanhodgesmosfet.cc >>> Mshichmanhodgesmosfet.cc:141:34: error: call to 'pow' is ambiguous >>> *ids = k*((vgs-Vth)*vds - pow(vds,2)/2 ) + vds/rd; >>> ^~~ >>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:961:1: >>> note: candidate function >>> [with _A1 = double, _A2 = int] >>> pow(_A1 __x, _A2 __y) _NOEXCEPT >>> ^ >>> /sw64/include/octave-3.8.2/octave/libcxx-fix.h:59:1: note: candidate >>> function [with _A1 = double, _A2 = int] >>> pow(_A1 __x, _A2 __y) _NOEXCEPT >>> ^ >>> /usr/include/math.h:443:15: note: candidate function >>> extern double pow(double, double); >>> ^ >>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:949:46: >>> note: candidate function >>> inline _LIBCPP_INLINE_VISIBILITY float pow(float __x, float __y) >>> _NOEXCEPT {return powf(__x, __y);} >>> ^ >>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:950:46: >>> note: candidate function >>> inline _LIBCPP_INLINE_VISIBILITY long double pow(long double __x, long >>> double __y) _NOEXCEPT {return powl(__x, __y);} >>> ^ >>> > > <snip> > >>> TIA >>> >>> Dominique >> >> >> Hmm…maybe the Homebrew patch that I threw in (libcxx-fix.h) needs to be >> adjusted. >> >> Any insight would be appreciated. >> >> I’ll look at this in more depth >> > > I haven’t forgotten about this, but I’m not enough of a C++ guru to know the > best way to resolve the ambiguity. > David Fang pointed me at a solution, and the updated packaging should be available shortly via self update. -- Alexander Hansen, Ph.D. Fink User Liaison
------------------------------------------------------------------------------
_______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users