<br><br><div class="gmail_quote">On Fri, Jan 28, 2011 at 12:11 AM, Jakub Jelinek <span dir="ltr"><<a href="mailto:jakub@redhat.com">jakub@redhat.com</a>></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>
> On 1/27/2011 23:26, Julian Sikorski wrote:<br>
> > I have just run into an issue with gcc-4.6, namely RPM Fusion's mame<br>
> > failed to compile [1]. I was told that #include<stddef.h> was missing.<br>
> > So I have two questions: why did including this header directly became<br>
> > necessary (code builds fine with 4.5) and are there any other issues we<br>
> > package monkeys might run into with a new compiler?<br>
><br>
> GCC 4.6 changed a lot of compiler warnings to errors, so a lot of code<br>
> (especially C++ code) that used to get away with violations like<br>
> omitting headers or assigning to un-assignable things will now fail to<br>
> 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'd describe as a lot. We haven'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 <cstddef> 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>