[MacPorts] #68237: vxl fails to build on 10.7: error: no matching function for call to 'isfinite'

MacPorts noreply at macports.org
Sun Sep 24 14:13:26 UTC 2023


#68237: vxl fails to build on 10.7: error: no matching function for call to
'isfinite'
--------------------------+--------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:  lion          |       Port:  vxl
--------------------------+--------------------
 {{{
 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
                         ^
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68237>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list