diff --git a/src/Context.h b/src/Context.h index d74630b15..35cdf7c65 100644 --- a/src/Context.h +++ b/src/Context.h @@ -200,7 +200,11 @@ class MAGNUM_EXPORT Context { * @see supportedVersion() */ inline bool isVersionSupported(Version version) const { + #ifndef CORRADE_GCC44_COMPATIBILITY return _version >= version; + #else + return static_cast(_version) >= static_cast(version); + #endif } /**