From 1d04a3b216901671eae0104547715a570b1ff3ab Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sat, 30 Mar 2019 17:48:36 +0100 Subject: Core/Misc: Fix GCC 8 warnings --- src/common/Debugging/Errors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/Debugging/Errors.cpp') diff --git a/src/common/Debugging/Errors.cpp b/src/common/Debugging/Errors.cpp index 6862b07aaff..25c9f06fed4 100644 --- a/src/common/Debugging/Errors.cpp +++ b/src/common/Debugging/Errors.cpp @@ -41,7 +41,7 @@ RaiseException(EXCEPTION_ASSERTION_FAILURE, 0, 2, execeptionArgs); #else // should be easily accessible in gdb -extern "C" TC_COMMON_API char const* TrinityAssertionFailedMessage = nullptr; +extern "C" { TC_COMMON_API char const* TrinityAssertionFailedMessage = nullptr; } #define Crash(message) \ TrinityAssertionFailedMessage = strdup(message); \ *((volatile int*)nullptr) = 0; \ -- cgit v1.2.3