BOOST_PP_VARIADICS_MSVC set incorrectly for EDG in Microsoft emulation mode
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
Bắt đầu trong preprocessor/config/config.hpp và kiểm tra điều kiện thiết lập BOOST_PP_VARIADICS_MSVC, tập trung vào sự tương tác giữa _MSC_VER, EDG và _MSVC_TRADITIONAL. Issue được hoàn tất khi EDG trong chế độ giả lập Microsoft không còn thiết lập BOOST_PP_VARIADICS_MSVC thành 0 một cách không chính xác; không có tệp kiểm thử cụ thể nào được đề cập.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
In preprocessor/config/config.hpp, the condition for setting BOOST_PP_VARIADICS_MSVC to 1 is:
# if defined _MSC_VER && _MSC_VER >= 1400 && !defined(__clang__) && (defined(__INTELLISENSE__) || (defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 1700) || !(defined __EDG__ || defined __GCCXML__ || (defined __NVCC__ && defined __CUDACC__) || defined __PATHSCALE__ || defined __DMC__ || defined __CODEGEARC__ || defined __BORLANDC__ || defined __MWERKS__ || defined __SUNPRO_CC || defined __HP_aCC || defined __MRC__ || defined __SC__ || defined __IBMCPP__ || defined __PGI)) && (!defined(_MSVC_TRADITIONAL) || _MSVC_TRADITIONAL)
Unless modified by a customer, when the EDG front end is invoked in Microsoft emulation mode, it defines both _MSC_VER and EDG, with the value of MSVC_TRADITIONAL being set depending on the --[no]_ms_std_preprocessor command-line option. When the EDG front end is invoked emulating the traditional Microsoft preprocessor (currently the default in Microsoft emulation mode), this results in defining BOOST_PP_VARIADICS_MSVC to 0, causing errors when Boost preprocessor variadics are used.
Presumably the fix is simply to remove the "defined EDG" test in this conditional.
- Ngôn ngữ chính
- C++
- Star
- 118
- Fork
- 76
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của boostorg/preprocessor
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
boostorg/preprocessor#65 · 5 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
boostorg/preprocessor#63 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
boostorg/preprocessor#58 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
boostorg/preprocessor#55 ·
-
Documentation format Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
boostorg/preprocessor#52 ·
Tất cả issue của boostorg/preprocessor
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
AXERA-TECH/ax-llm#77 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
games-on-whales/wolf#509 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
bug-unconfirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
NVIDIA/cuda-samples#453 ·