From b0cb3823e527691a8678bcc87982c0751822bd86 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Mon, 18 May 2009 00:20:41 +0000 Subject: [PATCH] Add some missing __extension__ attributes. Fixes #192954. git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_4_BRANCH@9875 --- include/valgrind.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/valgrind.h b/include/valgrind.h index f356577cd8..c1d704bf23 100644 --- a/include/valgrind.h +++ b/include/valgrind.h @@ -3880,6 +3880,7 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...) /* Return 1 if a mempool exists, else 0. */ #define VALGRIND_MEMPOOL_EXISTS(pool) \ + __extension__ \ ({unsigned int _qzz_res; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__MEMPOOL_EXISTS, \ @@ -3889,6 +3890,7 @@ VALGRIND_PRINTF_BACKTRACE(const char *format, ...) /* Mark a piece of memory as being a stack. Returns a stack id. */ #define VALGRIND_STACK_REGISTER(start, end) \ + __extension__ \ ({unsigned int _qzz_res; \ VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ VG_USERREQ__STACK_REGISTER, \ -- 2.47.2