From 8866065117a406f3bf3317815444fc2f4edc8a8b Mon Sep 17 00:00:00 2001 From: Shauren Date: Sun, 31 Oct 2021 00:18:32 +0200 Subject: Core/Misc: FIx a GCC warning --- src/common/Debugging/Errors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/Debugging') diff --git a/src/common/Debugging/Errors.cpp b/src/common/Debugging/Errors.cpp index 7e4a44a9a58..59dcb9f07ea 100644 --- a/src/common/Debugging/Errors.cpp +++ b/src/common/Debugging/Errors.cpp @@ -39,7 +39,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