External warning label for headers in MSVC
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- compilers, documentation
Research direction
Start with the guide section that recommends against /Wall for MSVC and verify whether /external:anglebrackets is supported by the relevant compiler versions. Done means the MSVC guidance clearly documents the external-header option, with any compatibility limitation noted.
Written by the indexing model from the issue text.
Description
Currently the guide recommends against /Wall for MSVC because the system headers do not comply. https://blogs.msdn.microsoft.com/vcblog/2017/12/13/broken-warnings-theory/ has an experimental feature that lets you turn off warnings for headers outside of your control.
/external:anglebrackets – a switch that allows a user to treat all headers included via #include <> (as opposed to #include "") as external headers
Might be good behavior to use the above switch assuming your MSVC compiler supports it.
- Dominant language
- No language data
- Stars
- 8.9k
- Forks
- 901
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cpp-best-practices/cppbestpractices
-
Broken Link Chapter 2: Use_the_Tools_AvailableMay be free again @vishesharma20 claimed this 191 days ago, and no pull request is open. Open
Difficulty 1/5 Under an hour Newbie friendliness 64/100
cpp-best-practices/cppbestpractices#169 · 1 comment ·
-
Broken Link - 11 Further ReadingPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 55/100
cpp-best-practices/cppbestpractices#168 · 1 comment ·
-
C++ PracticeOpen
Difficulty 5/5 Over a week Newbie friendliness 10/100
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
cpp-best-practices/cppbestpractices#160 · 1 comment ·
All issues in cpp-best-practices/cppbestpractices
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
bytecodealliance/wasmtime#15536 ·
Maintainers usually reply within 1 day
-
discuss during sync
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
llvm:codegen platform:windows
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
llvm/llvm-project#248217 ·
Maintainers usually reply within 1 day
-
lfortran -E exits with status 0 after a C preprocessor error (#error, wrong macro argument count)Openbug low priority preprocessor
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
manuscript-lang/manuscript#7651 ·
Maintainers usually reply within 1 day