We plan to enable -std=c++0x for MinGW gcc. However, this let gcc set
__STRICT_ANSI__, and the MinGW headers then do not declare e.g. _i64tow.
Instead of working around this in clucene we just switch to less strict -std=gnu++0x mode.
Change-Id: I734908048a8ab93f7b68a7be6b8a6cb8edae7b43
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
}
}
+# otherwise mingw headers do not declare common functions like _i64tow
+win32-g++*:QMAKE_CXXFLAGS_CXX11 = -std=gnu++0x
+
win32-msvc.net | win32-msvc2* {
QMAKE_CFLAGS_RELEASE -= -O2
QMAKE_CXXFLAGS_RELEASE -= -O2