From b71dd650c6d334939d3403bc7206ca85e606ad05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Klitzing?= Date: Thu, 22 Feb 2024 12:53:42 +0100 Subject: [PATCH] Remove ; after QT_DECLARE_EXTERN_RESOURCE This avoids a warning with clang compiler. error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi] QT_DECLARE_EXTERN_RESOURCE(AusweisAppQmlModuleMoreView_raw_qml_0); Change-Id: Id289080884ba2b017e884a15debfdd46102f1093 Reviewed-by: Alexey Edelev (cherry picked from commit 11259972a3c5d1918f889f145a1f223bf7d876a8) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/Qt6CoreResourceInit.in.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/Qt6CoreResourceInit.in.cpp b/src/corelib/Qt6CoreResourceInit.in.cpp index 0234ec8232d..e489d7e9769 100644 --- a/src/corelib/Qt6CoreResourceInit.in.cpp +++ b/src/corelib/Qt6CoreResourceInit.in.cpp @@ -5,7 +5,7 @@ #include -QT_DECLARE_EXTERN_RESOURCE(@RESOURCE_NAME@); +QT_DECLARE_EXTERN_RESOURCE(@RESOURCE_NAME@) namespace { struct resourceReferenceKeeper {