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

External warning label for headers in MSVC

オープン
#88 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。