diff --git a/src/Magnum/DebugOutput.cpp b/src/Magnum/DebugOutput.cpp index 37d59edf8..9a494e8a1 100644 --- a/src/Magnum/DebugOutput.cpp +++ b/src/Magnum/DebugOutput.cpp @@ -100,7 +100,13 @@ void defaultCallback(const DebugOutput::Source source, const DebugOutput::Type t case DebugOutput::Type::Other: ; } - output << '(' + std::to_string(id) + "):" << string; + output << '(' + + #ifndef CORRADE_GCC44_COMPATIBILITY + std::to_string(id) + + #else + std::to_string(static_cast(id)) + + #endif + "):" << string; } }