Fix compilation for win32-g++ and C++11
authorKai Koehne <kai.koehne@nokia.com>
Wed, 5 Sep 2012 14:10:47 +0000 (16:10 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 13 Sep 2012 14:47:33 +0000 (16:47 +0200)
commit36282127b81fa2e67aedcead91c0727e2fda648d
treed522cf9f903871b2ad559fe902aa20db0224f39b
parentf0e2c6fe1c4b89260844243a98862ebe672e3ad9
Fix compilation for win32-g++ and C++11

gcc defines __STRICT_ANSI__ implicitly for -std=c++0x. The MinGW headers
however omit the declaration of common functions like putenv then.

Instead of working around this MinGW particularity on a case by case basis, rather
just use gnu++0x for QtCore.

Change-Id: Iefe4e7f77014a4f1d501b149e34f7049deb52fb9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/corelib.pro