From 325d74bee435f5629616b4efbc877f9d33bf3164 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 16 Feb 2023 13:53:59 +0200 Subject: [PATCH] Always treat -Wstrict-overflow as a warning with Clang. --- qbs/modules/buildconfig/buildconfig.qbs | 1 + 1 file changed, 1 insertion(+) diff --git a/qbs/modules/buildconfig/buildconfig.qbs b/qbs/modules/buildconfig/buildconfig.qbs index b28691d0b..85f6ca503 100644 --- a/qbs/modules/buildconfig/buildconfig.qbs +++ b/qbs/modules/buildconfig/buildconfig.qbs @@ -501,6 +501,7 @@ Module { "-Wstrict-overflow=3", "-Wstrict-overflow=4", "-Wstrict-overflow=5", + "-Wno-error=strict-overflow", "-Wstrict-prototypes", "-Wstrict-selector-match", "-Wstring-compare",