cpp-best-practices / cpp-best-practices/cppbestpractices
External warning label for headers in MSVC
オープン
- 主要言語
- 言語のデータがありません
- スター
- 8.8k
- フォーク
- 902
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。