On Mon, Dec 4, 2017 at 10:53 AM, Moritz Barsnick <barsn...@gmx.net> wrote: > On Mon, Dec 04, 2017 at 13:02:20 +0800, Jun Zhao wrote: >> Use perdefined micro __FUNCTION__ rather than hard coding function name >> to fix wrong function name in error message. > > AFAICT, "__FUNCTION__" is a C99 feature and thereby not supported by > ffmpeg style. Or should it be? (It might be "supported by all compilers > we care about".) > > http://ffmpeg.org/developer.html#C-language-features >
__FUNCTION__ is not C99, its a compiler extension (which is understood by GCC and some other compilers). __func__ is the C99 keyword. Its likely that not all compilers we currently support would have __func__, if they all have __FUNCTION__ however I cannot tell. - Hendrik _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel