summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qlogging.cpp
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2022-12-13 17:50:40 +0100
committerPeter Varga <pvarga@inf.u-szeged.hu>2022-12-15 23:16:04 +0100
commit97b32fa0b661c5dd89d525122427496132abb54a (patch)
tree7ca69365a1d595f0a7daa4dc5c3f4add4a28c514 /src/corelib/global/qlogging.cpp
parent702ffc45d6d3641ee3baf2625a10493b95ce33a7 (diff)
Fix clang-cl compiler warnings
- known but unsupported action 'shared' for '#pragma section' [-Wignored-pragmas] - #include resolved using non-portable Microsoft search rules [-Wmicrosoft-include] - variable is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] Change-Id: I466352ff97a2bcf07e706c045568e581dd08a94e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qlogging.cpp')
-rw-r--r--src/corelib/global/qlogging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qlogging.cpp b/src/corelib/global/qlogging.cpp
index 213273ed67..1ab9ca6dbf 100644
--- a/src/corelib/global/qlogging.cpp
+++ b/src/corelib/global/qlogging.cpp
@@ -159,7 +159,7 @@ using namespace Qt::StringLiterals;
\snippet code/src_corelib_global_qglobal.cpp 4
*/
-#if !defined(Q_CC_MSVC)
+#if !defined(Q_CC_MSVC) || defined(Q_CC_CLANG)
Q_NORETURN
#endif
static void qt_message_fatal(QtMsgType, const QMessageLogContext &context, const QString &message);