<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - nine_state.c:1440: error: unknown field ‘m’ specified in initializer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89978#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - nine_state.c:1440: error: unknown field ‘m’ specified in initializer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89978">bug 89978</a>
from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
<pre>(In reply to David Heidelberg (okias) from <a href="show_bug.cgi?id=89978#c2">comment #2</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=115012" name="attach_115012" title="0001-st-nine-require-gcc-4.6.patch">attachment 115012</a> <a href="attachment.cgi?id=115012&action=edit" title="0001-st-nine-require-gcc-4.6.patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=89978&attachment=115012'>[review]</a> [review]
> 0001-st-nine-require-gcc-4.6.patch
>
> This is clearly GCC bug[1], should be fixed since GCC 4.6 which every sane
> X86 & X86_64 distribution will use.
> </span >
Just because there is a bug opened about it with GCC that does not make it a
GCC bug :-\ The code is using C11 functionality so it's hard to blame the
compiler considering that we use -std=c99
<span class="quote">> Personally I don't see any reason to fix it differently, than raise
> configure.ac requirement for Nine to >= gcc 4.6.
>
> [1] <a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676</a></span >
>
Imho a better solution would be to add -fms-extensions to the CFLAGS. This will
enable anonymous struct/unions and keep things working for pre 4.6 versions of
GCC.</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>