<font size="2"><font face="tahoma,sans-serif">Hi;<br><br>nouveau_array.c seems to be using nested functions which is not supported by clang (or the EDG based compilers it seems), the reduced testcase looks like this:<br><br>

foo()<br>{<br>    auto void f(); <br>    void f() {};<br>}<br><br>I talked to the clang developers and they don&#39;t plan to support this GNU extension since (they say) it would be too hard to support it in the parser. Clang website notes the following about this issue (from <a href="http://clang.llvm.org/docs/UsersManual.html#c_unimpl_gcc">http://clang.llvm.org/docs/UsersManual.html#c_unimpl_gcc</a> )<br>

</font></font><br>&lt;quote&gt;<br>clang does not support nested functions; this is a complex feature which is infrequently used, so it is unlikely to be implemented anytime soon.<br>&lt;/quote&gt;<br><br>Is there any chance of removing such code from Mesa?<br>

<br>Regards,<br>ismail<br><br><font size="2"><font face="tahoma,sans-serif"><br><br></font></font>