boostorg / boostorg/python

Use of deprecated Bind placeholders

Đang mở
#359 2 bình luận 5 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
537
Fork
223
Merge trung bình
11 giờ 22 phút
Pull request đã merge (30 ngày)
2

Mô tả

Some of the Boost.Python headers still use the deprecated Bind placeholders in the global namespace:

> /usr/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.

Fix the files:
-
-

with fixes:
1. Replace and with
2. Replace (global) `_1` with `boost::placeholders::_1`
3. Replace (global) `_2` with `boost::placeholders::_2`

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.