diff options
-rw-r--r-- | src/corelib/configure.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/configure.json b/src/corelib/configure.json index de8d26a12b..4de6cc19f3 100644 --- a/src/corelib/configure.json +++ b/src/corelib/configure.json @@ -343,7 +343,8 @@ "# Block futimens() on Apple platforms unless it's available on ALL", "# deployment targets. This simplifies the logic at the call site", "# dramatically, as it isn't strictly needed compared to futimes().", - "darwin: QMAKE_CXXFLAGS += -Werror=unguarded-availability" + "darwin: QMAKE_CXXFLAGS += -Werror=unguarded-availability -Werror=unguarded-availability-new", + "CONFIG += warn_on" ] } }, |