MSVC's C99 support is quite poor in general; your best bet might be to use the MSVC-specific __FUNCTION__
macro. See this question for details: Cross-platform defining #define for macros __FUNCTION__ and __func__
Update (2015-06-22): Visual Studio 2015 supports __func__
, see the blog post