<html>
    <head>
      <base href="https://bugs.freedesktop.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 - warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108082">108082</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Keywords</th>
          <td>bisected, regression
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vlee@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>emil.l.velikov@gmail.com, fdo-bugs@engestrom.ch
          </td>
        </tr></table>
      <p>
        <div>
        <pre>These warning messages are appearing with clang.

warning: unknown warning option '-Wno-format-truncation'
[-Wunknown-warning-option]

Introduced with this commit.

commit 97ae5a858d2a2da9144ea9793b67b360a3a7c5fa
Author: Eric Engestrom <<a href="mailto:eric.engestrom@intel.com">eric.engestrom@intel.com</a>>
Date:   Fri Sep 21 11:42:38 2018 +0100

    meson+autotools: get rid of spammy GCC warning -Wformat-truncation

    That warning fires every time a string function takes an argument that
    could possibly be longer than its max output, which triggers all over
    the place, especially when working with file paths ("what if every file
    path is MAX_PATH long?" is what GCC is saying, which is really annoying
    when we *know* that "/dev/dri/cardN" is not gonna be 4096 char long and
    it's safe to store it in a 32-char array).

    Anyway, we either add a ton of dead code all over the place to make GCC
    happy, or we get rid of its spam. I chose the latter.

    Signed-off-by: Eric Engestrom <<a href="mailto:eric.engestrom@intel.com">eric.engestrom@intel.com</a>>
    Reviewed-by: Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com">emil.l.velikov@gmail.com</a>></pre>
        </div>
      </p>


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

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>