Opened 14 months ago
Closed 14 months ago
#68237 closed defect (fixed)
vxl: build fails for 10.7: error: no matching function for call to 'isfinite'
Reported by: | barracuda156 | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | lion | Cc: | nilason (Nicklas Larsson) |
Port: | vxl |
Description
I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_vxl/vxl/work/build/core/vil -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -arch x86_64 -mmacosx-version-min=10.7 -fPIC -std=c++11 -MD -MT core/vil/CMakeFiles/vil.dir/vil_new.cxx.o -MF CMakeFiles/vil.dir/vil_new.cxx.o.d -o CMakeFiles/vil.dir/vil_new.cxx.o -c /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_vxl/vxl/work/vxl-3.5.0/core/vil/vil_new.cxx In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_vxl/vxl/work/vxl-3.5.0/core/vnl/Templates/vnl_matrix+char-.cxx:1: In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_vxl/vxl/work/vxl-3.5.0/core/vnl/vnl_matrix.hxx:94: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_vxl/vxl/work/vxl-3.5.0/core/vnl/vnl_math.h:203:48: error: no matching function for call to 'isfinite' inline bool isfinite(TArg arg) { return bool(std::isfinite(arg)); } ^~~~~~~~~~~~~ /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_vxl/vxl/work/vxl-3.5.0/core/vnl/vnl_matrix.hxx:1176:12: note: in instantiation of function template specialization 'vnl_math::isfinite<char>' requested here if (!vnl_math::isfinite((*this)(i,j))) ^ /usr/bin/../lib/c++/v1/cmath:375:25: note: candidate template ignored: disabled by 'enable_if' [with _A1 = char] typename std::enable_if<std::is_floating_point<_A1>::value, bool>::type ^ In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_vxl/vxl/work/vxl-3.5.0/core/vnl/Templates/vnl_matrix+char-.cxx:1: In file included from /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_vxl/vxl/work/vxl-3.5.0/core/vnl/vnl_matrix.hxx:94: /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_vxl/vxl/work/vxl-3.5.0/core/vnl/vnl_math.h:201:45: error: no matching function for call to 'isnan' inline bool isnan(TArg arg) { return bool(std::isnan(arg)); } ^~~~~~~~~~ /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_vxl/vxl/work/vxl-3.5.0/core/vnl/vnl_matrix.hxx:1164:11: note: in instantiation of function template specialization 'vnl_math::isnan<char>' requested here if (vnl_math::isnan((*this)(i,j))) ^ /usr/bin/../lib/c++/v1/cmath:423:25: note: candidate template ignored: disabled by 'enable_if' [with _A1 = char] typename std::enable_if<std::is_floating_point<_A1>::value, bool>::type ^
Change History (2)
comment:1 Changed 14 months ago by mascguy (Christopher Nielsen)
Cc: | nilason added |
---|---|
Owner: | set to mascguy |
Status: | new → assigned |
Summary: | vxl fails to build on 10.7: error: no matching function for call to 'isfinite' → vxl: build fails for 10.7: error: no matching function for call to 'isfinite' |
comment:2 Changed 14 months ago by Christopher Nielsen <mascguy@…>
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In 451875f89451e839ceb71246ca61d14c5dc527ba/macports-ports (master):