Warning C4459 when building using MSVC
@glenfe đang làm issue này rồi.
Từ ngày 23/2/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Using multi_array, MSVC (VS 2019, VS 2022) emits the following warnings (using Boost release 1.82.0, but current code in the repo includes the same global variable and argument name):
`C:\lo\build\workdir\UnpackedTarball\boost\boost/multi_array/multi_array_ref.hpp(615): warning C4459: declaration of 'extents' hides global declaration
C:\lo\build\workdir\UnpackedTarball\boost\boost/multi_array/base.hpp(69): note: see declaration of 'boost::anonymous-namespace'::extents'
This prevents warning-free builds, or requires pollution of the code with pragmas. Would it be possible to rename the constructor argument name?
- Ngôn ngữ chính
- C++
- Star
- 32
- Fork
- 39
- 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/multi_array
-
multi_array doesn't compile Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
boostorg/multi_array#38 · 2 bình luận · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
boostorg/multi_array#34 ·
-
provide multi_array::swap Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
boostorg/multi_array#33 ·
-
Performance issue on resize Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
boostorg/multi_array#32 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
boostorg/multi_array#31 · 2 bình luận ·
Tất cả issue của boostorg/multi_array
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 82/100
-
Độ 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