cpp-best-practices / cpp-best-practices/cppbestpractices

MSVC /Wall is not unusable because of standard library headers

Đang mở
#144 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
8.8k
Fork
902
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

The current wording reads "`/Wall` - Also warns on files included from the standard library, so it's not very useful and creates too many extra warnings." – this reason does not seem to hold, because `/external` (i.e. `/external:anglebrackets`) exists and is effective in preventing `/Wall` warnings in the standard headers too.

A better reason to avoid `/Wall` would be a large number of informational diagnostics (i.e. https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4711?view=msvc-170) - but then again, these can be disabled individually.

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.