[MacPorts] #59745: libdynd @0.7.2: error: 'bind1st<std::__1::equal_to<char>, char>' is deprecated
MacPorts
noreply at macports.org
Thu Nov 21 01:15:57 UTC 2019
#59745: libdynd @0.7.2: error: 'bind1st<std::__1::equal_to<char>, char>' is
deprecated
------------------------+----------------------
Reporter: ryandesign | Owner: stromnov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: libdynd
------------------------+----------------------
[https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/3502/steps
/install-port/logs/stdio libdynd doesn't build]
{{{
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_libdynd/libdynd/work/libdynd-0.7.2/src/dynd/type.cpp:683:43:
error: 'bind1st<std::__1::equal_to<char>, char>' is deprecated [-Werror
,-Wdeprecated-declarations]
return 1 + count_if(s.begin(), s.end(), bind1st(equal_to<char>(),
'\n'));
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:1053:1:
note: 'bind1st<std::__1::equal_to<char>, char>' has been explicitly marked
deprecated here
_LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__config:1101:39:
note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
# define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__config:1090:48:
note: expanded from macro '_LIBCPP_DEPRECATED'
# define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
^
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_libdynd/libdynd/work/libdynd-0.7.2/src/dynd/type.cpp:698:42:
error: 'bind1st<std::__1::equal_to<char>, char>' is deprecated [-Werror
,-Wdeprecated-declarations]
const char *next = find_if(cur, end, bind1st(equal_to<char>(), '\n'));
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:1053:1:
note: 'bind1st<std::__1::equal_to<char>, char>' has been explicitly marked
deprecated here
_LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__config:1101:39:
note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
# define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__config:1090:48:
note: expanded from macro '_LIBCPP_DEPRECATED'
# define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
^
2 errors generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59745>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list