https://bugs.kde.org/show_bug.cgi?id=402326
Bug ID: 402326 Summary: MSVC compile error when using KDELIBS4SUPPORT_NO_DEPRECATED_NOISE Product: frameworks-kdelibs4support Version: 5.53.0 Platform: Other OS: MS Windows Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kdelibs-b...@kde.org Reporter: ralf.habac...@freenet.de Target Milestone: --- On KDE CI it has detected with alkimia (commit https://cgit.kde.org/alkimia.git/commit/?id=d261dd4123eb58fdba4e11f865a1b8a088379875) that compiling against kdelibs4support with msvc results into compiling errors if the preprocessor variable KDELIBS4SUPPORT_NO_DEPRECATED_NOISE is set. STEPS TO REPRODUCE 1. Build mentioned alkimia commit on KDE CI OBSERVED RESULT The build fails with C:\CI\SOFTWA~1\alkimia\include\KF5\KDELIB~1\kglobal.h(25): fatal error C1021: invalid preprocessor command 'warning' C:\CI\SOFTWA~1\alkimia\include\KF5\KDELIB~1\kdebug.h(28): fatal error C1021: invalid preprocessor command 'warning' EXPECTED RESULT The build should not fail SOFTWARE/OS VERSIONS Windows: 10 ? (KDE CI) KDE Frameworks Version: 5.54 Qt Version: 5.10 ADDITIONAL INFORMATION msvc does not support the #warning directive -- You are receiving this mail because: You are watching all bug changes.