From 44041efc51347bad164ac613fcfc160b079654ce Mon Sep 17 00:00:00 2001 From: Etienne Renault Date: Wed, 15 Mar 2017 17:22:17 +0100 Subject: [PATCH] bricks: please gcc Wmacro-redefined option * bricks/brick-assert: here. --- bricks/brick-assert | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bricks/brick-assert b/bricks/brick-assert index c01ce0d49..c02b35f4e 100644 --- a/bricks/brick-assert +++ b/bricks/brick-assert @@ -69,10 +69,10 @@ BRICK_LOCWRAP( BRICK_LOCATION( "a missing implementation" ) ) ) #ifdef _MSC_VER -#define UNUSED +#define DIVINE_UNUSED #define noexcept #else -#define UNUSED __attribute__((unused)) +#define DIVINE_UNUSED __attribute__((unused)) #endif #ifndef BRICK_ASSERT_H