From 42cb74aa81f2a952b2ecd9a4b905079c2956e764 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Thu, 11 Jan 2018 12:43:37 +0100 Subject: MinGW: Remove workaround that disabled strict_c++ The workaround was needed in older versions of MinGW-w64 headers that did disable some common functions for -std=c++1z. Anyhow, this is not reproducable anymore with any recent MinGW-w64. Change-Id: I8e34a2e055f8e2356696dd4fe131a757c1527574 Reviewed-by: Friedemann Kleint Reviewed-by: Oswald Buddenhagen --- src/corelib/corelib.pro | 4 ---- src/tools/bootstrap/bootstrap.pro | 3 --- 2 files changed, 7 deletions(-) diff --git a/src/corelib/corelib.pro b/src/corelib/corelib.pro index a0d41396dd..6dc4af1bfe 100644 --- a/src/corelib/corelib.pro +++ b/src/corelib/corelib.pro @@ -44,10 +44,6 @@ include(mimetypes/mimetypes.pri) include(xml/xml.pri) win32 { - mingw { - # otherwise mingw headers do not declare common functions like putenv - CONFIG -= strict_c++ - } LIBS_PRIVATE += -lws2_32 !winrt { LIBS_PRIVATE += -lkernel32 -luser32 -lshell32 -luuid -lole32 -ladvapi32 -lwinmm diff --git a/src/tools/bootstrap/bootstrap.pro b/src/tools/bootstrap/bootstrap.pro index 03d5e44405..a88333f03a 100644 --- a/src/tools/bootstrap/bootstrap.pro +++ b/src/tools/bootstrap/bootstrap.pro @@ -147,8 +147,5 @@ win32 { load(qt_module) -# otherwise mingw headers do not declare common functions like putenv -mingw: CONFIG -= strict_c++ - lib.CONFIG = dummy_install INSTALLS += lib -- cgit v1.2.3