The #warning directive is not universal and in particular is NOT supported by MSVC Remove the directive to restore compilation on Windows. Ref D9108
CCMAIL: aleixpol@kde.org