From 15014fb639e026bde9ea3d492896bd4dc9579ba0 Mon Sep 17 00:00:00 2001
From: Robert Loehning <robert.loehning@nokia.com>
Date: Fri, 10 Feb 2012 16:32:52 +0100
Subject: [PATCH] Fix compilation of debugger test with MinGW

Change-Id: Id45d58409a6960aa9d140cb29592b921ee6bcfeb
Reviewed-by: hjk <qthjk@ovi.com>
---
 tests/manual/debugger/simple/simple_test_app.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/manual/debugger/simple/simple_test_app.cpp b/tests/manual/debugger/simple/simple_test_app.cpp
index d61c6a75548..8bb22d6f972 100644
--- a/tests/manual/debugger/simple/simple_test_app.cpp
+++ b/tests/manual/debugger/simple/simple_test_app.cpp
@@ -113,6 +113,10 @@
 
 void dummyStatement(...) {}
 
+#if USE_CXX11 && defined(__GNUC__) && defined(__STRICT_ANSI__)
+#undef __STRICT_ANSI__ // working around compile error with MinGW
+#endif
+
 #include <QtCore/QDebug>
 #include <QtCore/QDateTime>
 #include <QtCore/QDir>
-- 
GitLab