search for: and__pretty_function__

Displaying 1 result from an estimated 1 matches for "and__pretty_function__".

2007 Aug 08
0
Use of __FUNCTION__ and__PRETTY_FUNCTION__ is not portable
These are C/C++ extensions found in several packages[1]. They are non-standard: the C99 standard has __func__ which should be used in C in place of either. If you really want back compatibilty, try something like #if __STDC_VERSION__ < 199901L # if __GNUC__ >= 2 # define __func__ __FUNCTION__ # else # define __func__ "<unknown>" # endif #endif I don't know a