Replace __FUNCTION__ with __func__, the latter being standard C99/C++11.