Commit 4d2b8458 authored by Kevin Funk's avatar Kevin Funk

Work around GCC bug in GCC 4.8

Error:
/home/foo/kdesrc/kdevelop/languages/clang/tests/test_assistants.cpp:62:53:
error: unterminated raw string
     QLoggingCategory::setFilterRules(QStringLiteral(R"(
                                                     ^
See:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55971
parent e0eda262
......@@ -59,11 +59,11 @@ StaticAssistantsManager *staticAssistantsManager() { return Core::self()->langua
void TestAssistants::initTestCase()
{
QLoggingCategory::setFilterRules(QStringLiteral(R"(
*.debug=false
default.debug=true
kdevelop.plugins.clang.debug=true
)"));
QLoggingCategory::setFilterRules(QStringLiteral(
"*.debug=false\n"
"default.debug=true\n"
"kdevelop.plugins.clang.debug=true\n"
));
QVERIFY(qputenv("KDEV_DISABLE_PLUGINS", "kdevcppsupport"));
QVERIFY(qputenv("KDEV_CLANG_DISPLAY_DIAGS", "1"));
AutoTestShell::init({QStringLiteral("kdevclangsupport")});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment