Opened 5 years ago

Closed 4 years ago

#59745 closed defect (fixed)

libdynd @0.7.2: error: 'bind1st<std::__1::equal_to<char>, char>' is deprecated

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port: libdynd

Description

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.

Change History (3)

comment:1 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

comment:2 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:3 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

Resolution: fixed
Status: assignedclosed

In ea3dd250d7e14dd74d1541303faee88517c5f5e2/macports-ports (master):

libdynd: fix build

Fixes: #59745

Note: See TracTickets for help on using tickets.