Please use __func__ instead, it is standard (as of C++11) and has been in all c++ compilers for a while. __PRETTY_FUNCTION__ is g++ only.