On Aug 4, 2016 12:46 AM, "Enrico Weigelt, metux IT consult" < enrico.weig...@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@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev