From 9549b300b92c362af39b2a2fd04025a7d061cd7b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 30 Aug 2023 21:10:08 +0200 Subject: fix clang -Werror --- main/debug.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/debug.cpp b/main/debug.cpp index bc6b614d..24a4d07c 100644 --- a/main/debug.cpp +++ b/main/debug.cpp @@ -5,7 +5,8 @@ namespace floormat { using Severity = GL::DebugOutput::Severity; -CORRADE_NEVER_INLINE void put_debug_breakpoint_here() {} +CORRADE_NEVER_INLINE extern "C" void put_debug_breakpoint_here(); +CORRADE_NEVER_INLINE extern "C" void put_debug_breakpoint_here() {} // NOLINTNEXTLINE(readability-convert-member-functions-to-static) void main_impl::debug_callback(unsigned src, unsigned type, unsigned id, unsigned severity, StringView str) const -- cgit v1.2.3