<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Some warnings do not have -Wno- options (for example -Wno-disabled-macro-expansion -Wno-global-constructors)"
   href="https://bugs.llvm.org/show_bug.cgi?id=36767">36767</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Some warnings do not have -Wno- options (for example  -Wno-disabled-macro-expansion -Wno-global-constructors)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>C++
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>pbristow@hetp.u-net.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Some warnings do not seem to have -Wno- options

(for example  -Wno-disabled-macro-expansion -Wno-global-constructors).

During development of Boost libraries, authors are encouraged to improve the
code to avoid warnings 

<a href="https://svn.boost.org/trac10/wiki/Guidelines/WarningsGuidelines">https://svn.boost.org/trac10/wiki/Guidelines/WarningsGuidelines</a>

Sadly this has often proved impossible for all platforms/compilers.

It has been found useful to be able to enable more/all warnings and then
selectively silence individual warnings to try to obtain a warnings-free
compilation.  This allows the many Boost users to get a clean compilation free
from clutter from warnings.  (A recent compilation of Boost.Test produced 247
warnings!)

The act of supressing a warning documents that the warning has been considered
and is not judged significant.

To make this possible (and to make things simple for the user to be able to
assume that all warnings can be quieted rather than try, but fail, for some)
*all* -W should have a corresponding -Wno- command (even if -Wextra ... has
enabled them).</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>