diff options
Diffstat (limited to 'docs/UsersManual.html')
-rw-r--r-- | docs/UsersManual.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/UsersManual.html b/docs/UsersManual.html index 639892714e..4bf550d777 100644 --- a/docs/UsersManual.html +++ b/docs/UsersManual.html @@ -39,6 +39,7 @@ td { <li><a href="#diagnostics_categories">Diagnostic Categories</a></li> <li><a href="#diagnostics_commandline">Controlling Diagnostics via Command Line Flags</a></li> <li><a href="#diagnostics_pragmas">Controlling Diagnostics via Pragmas</a></li> + <li><a href="#diagnostics_enable_everything">Enabling All Warnings</a></li> <li><a href="#analyzer_diagnositics">Controlling Static Analyzer Diagnostics</a></li> </ul> </li> @@ -626,6 +627,16 @@ GCC do not support the exact same set of warnings, so even when using GCC compatible #pragmas there is no guarantee that they will have identical behaviour on both compilers. </p> +<h4 id="diagnostics_enable_everything">Enabling All Warnings</h4> + +<p>In addition to the traditional <tt>-W</tt> flags, one can enable <b>all</b> + warnings by passing <tt>-Weverything</tt>. + This works as expected with <tt>-Werror</tt>, + and also includes the warnings from <tt>-pedantic</tt>.</p> + +<p>Note that when combined with <tt>-w</tt> (which disables all warnings), that + flag wins.</p> + <h4 id="analyzer_diagnositics">Controlling Static Analyzer Diagnostics</h4> <p>While not strictly part of the compiler, the diagnostics from Clang's <a |