[Mesa-dev] __func__ vs. __FUNCTION__
Jason Ekstrand
jason at jlekstrand.net
Thu Aug 4 13:56:56 UTC 2016
On Aug 4, 2016 12:46 AM, "Enrico Weigelt, metux IT consult" <
enrico.weigelt at gr13.net> wrote:
>
> On 03.08.2016 12:20, Eric Engestrom wrote:
>
> > BTW, c99_compat.h has a #define for __func__ where needed, so this
> > change (removing use of __FUNCTION__) is a good one indeed :)
>
> Did a few experiments w/ gcc vs msvc. The common denominator is
> both define __FUNCTION__, so I moved there and dropped the defines
> in c99_compat.h.
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.
> See: https://github.com/metux/mesa/commits/WIP_cleanup
>
>
> --mtx
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160804/27667504/attachment.html>
More information about the mesa-dev
mailing list