aboutsummaryrefslogtreecommitdiff
path: root/src/common/Debugging/Errors.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2021-10-31 00:18:32 +0200
committerShauren <shauren.trinity@gmail.com>2021-10-31 01:39:10 +0200
commit8866065117a406f3bf3317815444fc2f4edc8a8b (patch)
tree1582277031f59c68b6f0877d5a99c8bfb0f986d6 /src/common/Debugging/Errors.cpp
parente506c80a64571530cf7edd947a5b7dc2f35f9d1d (diff)
Core/Misc: FIx a GCC warning
Diffstat (limited to 'src/common/Debugging/Errors.cpp')
-rw-r--r--src/common/Debugging/Errors.cpp2
1 files changed, 1 insertions, 1 deletions
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; \