diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-30 21:10:08 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-31 06:34:06 +0200 |
commit | 9549b300b92c362af39b2a2fd04025a7d061cd7b (patch) | |
tree | fec9f410ec933f079b6d357723593bde56a68edb /main/debug.cpp | |
parent | a2da4dffc99efdb83220c38458c476b528dcf955 (diff) |
fix clang -Werror
Diffstat (limited to 'main/debug.cpp')
-rw-r--r-- | main/debug.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 |