From 7b04b02b6a9708573d25e09347aba766fbbc0138 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 24 Dec 2015 14:42:59 -0500 Subject: base/compiler: Decorate __PRETTY_FUNCTION__ with __extension__. --- libdimension/dimension/base/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdimension/dimension/base/compiler.h b/libdimension/dimension/base/compiler.h index a83f1b9..30e3d9d 100644 --- a/libdimension/dimension/base/compiler.h +++ b/libdimension/dimension/base/compiler.h @@ -121,7 +121,7 @@ * @brief Expands to the name of the current function */ #if DMNSN_GNUC - #define DMNSN_FUNC __PRETTY_FUNCTION__ + #define DMNSN_FUNC __extension__ __PRETTY_FUNCTION__ #elif DMNSN_C99 #define DMNSN_FUNC __func__ #else -- cgit v1.2.3