<br><br><div class="gmail_quote">On Fri, Jan 28, 2011 at 12:11 AM, Jakub Jelinek <span dir="ltr">&lt;<a href="mailto:jakub@redhat.com">jakub@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, Jan 27, 2011 at 11:29:45PM -0800, Garrett Holmstrom wrote:<br>
&gt; On 1/27/2011 23:26, Julian Sikorski wrote:<br>
&gt; &gt; I have just run into an issue with gcc-4.6, namely RPM Fusion&#39;s mame<br>
&gt; &gt; failed to compile [1]. I was told that #include&lt;stddef.h&gt;  was missing.<br>
&gt; &gt; So I have two questions: why did including this header directly became<br>
&gt; &gt; necessary (code builds fine with 4.5) and are there any other issues we<br>
&gt; &gt; package monkeys might run into with a new compiler?<br>
&gt;<br>
&gt; GCC 4.6 changed a lot of compiler warnings to errors, so a lot of code<br>
&gt; (especially C++ code) that used to get away with violations like<br>
&gt; omitting headers or assigning to un-assignable things will now fail to<br>
&gt; build.<br>
<br>
</div>Care to share details?  Of course there were many changes in the C++ FE,<br>
especially for C++0x, and maybe some warnings changed into errors, but<br>
nothing I&#39;d describe as a lot.  We haven&#39;t still written<br>
<a href="http://gcc.gnu.org/gcc-4.6/porting_to.html" target="_blank">http://gcc.gnu.org/gcc-4.6/porting_to.html</a> so if you have interesting<br>
info about changes that affect a lot of packages, details would be certainly<br>
welcome.  The STL changes not to include &lt;cstddef&gt; internally is certainly<br>
one thing that will be added there.<br>
<font color="#888888"><br>
        Jakub<br>
</font><div><div></div><div class="h5">--<br>
devel mailing list<br>
<a href="mailto:devel@lists.fedoraproject.org">devel@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/devel" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br>