From d94ab97b7741de7c73d4d203b9cca7bd150d581f Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 16 Feb 2012 07:40:20 +0100 Subject: [QTBUG-22847] Compile with C++11 compiler C++11 supports user-defined string literals, which makes the C++98-accepted literal string concatenation sequence "foo"MACRO illegal under C++11. The solution is to add whitespace between the string literal and the macro. For symmetry, this patch adds it on both sides. Change-Id: Ie0c698f610986c4d1b12dc2083489043b696936d Reviewed-by: Thiago Macieira --- src/testlib/qxmltestlogger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testlib/qxmltestlogger.cpp') diff --git a/src/testlib/qxmltestlogger.cpp b/src/testlib/qxmltestlogger.cpp index 28ae6ff095..7e5da20680 100644 --- a/src/testlib/qxmltestlogger.cpp +++ b/src/testlib/qxmltestlogger.cpp @@ -118,7 +118,7 @@ void QXmlTestLogger::startLogging() QTest::qt_asprintf(&buf, "\n" " %s\n" - " "QTEST_VERSION_STR"\n" + " " QTEST_VERSION_STR "\n" "\n", qVersion()); outputString(buf.constData()); } -- cgit v1.2.3