<p dir="ltr">On Aug 4, 2016 12:46 AM, "Enrico Weigelt, metux IT consult" <<a href="mailto:enrico.weigelt@gr13.net">enrico.weigelt@gr13.net</a>> wrote:<br>
><br>
> On 03.08.2016 12:20, Eric Engestrom wrote:<br>
><br>
> > BTW, c99_compat.h has a #define for __func__ where needed, so this<br>
> > change (removing use of __FUNCTION__) is a good one indeed :)<br>
><br>
> Did a few experiments w/ gcc vs msvc. The common denominator is<br>
> both define __FUNCTION__, so I moved there and dropped the defines<br>
> in c99_compat.h.</p>
<p dir="ltr">Can we please move towards the standard and not away from it? MSVC has support for __func__ now at least in C++ in recent versions. They will probably gain it eventually for C as well.</p>
<p dir="ltr">> See: <a href="https://github.com/metux/mesa/commits/WIP_cleanup">https://github.com/metux/mesa/commits/WIP_cleanup</a><br>
><br>
><br>
> --mtx<br>
><br>
> _______________________________________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</p>