<html>
    <head>
      <base href="https://bugs.webkit.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 - Suppress -Wmissing-field-initializers warnings with GCC 4.9"
   href="https://bugs.webkit.org/show_bug.cgi?id=157888">157888</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Suppress -Wmissing-field-initializers warnings with GCC 4.9
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ossy&#64;webkit.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>There are many build failures with GCC 4.9, because this GCC version is buggy
and reports false positive warnings for empty initializer lists:

DerivedSources/WebCore/JSIDBObjectStore.cpp: In function 'T WebCore::convert(JSC::ExecState&amp;, JSC::JSValue) [with T = WebCore::IDBObjectStore::IndexParameters]':
DerivedSources/WebCore/JSIDBObjectStore.cpp:55:18: error: missing initializer for member 'WebCore::IDBObjectStore::IndexParameters::unique' [-Werror=missing-field-initializers]
DerivedSources/WebCore/JSIDBObjectStore.cpp:55:18: error: missing initializer for member 'WebCore::IDBObjectStore::IndexParameters::multiEntry' [-Werror=missing-field-initializers]
DerivedSources/WebCore/JSIDBObjectStore.cpp:59:18: error: missing initializer for member 'WebCore::IDBObjectStore::IndexParameters::unique' [-Werror=missing-field-initializers]
DerivedSources/WebCore/JSIDBObjectStore.cpp:59:18: error: missing initializer for member 'WebCore::IDBObjectStore::IndexParameters::multiEntry' [-Werror=missing-field-initializers]
cc1plus: all warnings being treated as errors

DerivedSources/WebCore/JSFontFace.cpp: In function 'T WebCore::convert(JSC::ExecState&amp;, JSC::JSValue) [with T = WebCore::FontFace::Descriptors]':
DerivedSources/WebCore/JSFontFace.cpp:100:18: error: missing initializer for member 'WebCore::FontFace::Descriptors::style' [-Werror=missing-field-initializers]
DerivedSources/WebCore/JSFontFace.cpp:100:18: error: missing initializer for member 'WebCore::FontFace::Descriptors::weight' [-Werror=missing-field-initializers]
...

DerivedSources/WebCore/JSElement.cpp: In function 'T WebCore::convert(JSC::ExecState&amp;, JSC::JSValue) [with T = WebCore::Element::ShadowRootInit]':
DerivedSources/WebCore/JSElement.cpp:119:18: error: missing initializer for member 'WebCore::Element::ShadowRootInit::mode' [-Werror=missing-field-initializers]
cc1plus: all warnings being treated as errors

DerivedSources/WebCore/JSMutationObserver.cpp: In function 'T WebCore::convert(JSC::ExecState&amp;, JSC::JSValue) [with T = WebCore::MutationObserver::Init]':
DerivedSources/WebCore/JSMutationObserver.cpp:47:18: error: missing initializer for member 'WebCore::MutationObserver::Init::childList' [-Werror=missing-field-initializers]
DerivedSources/WebCore/JSMutationObserver.cpp:47:18: error: missing initializer for member 'WebCore::MutationObserver::Init::attributes' [-Werror=missing-field-initializers]
...

I think the easiest way to fix these build failures is suppressing this warning with GCC 4.9</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>