[clazy] [Bug 399090] New: qcolor-from-literal test failure

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Sep 26 08:49:33 BST 2018


https://bugs.kde.org/show_bug.cgi?id=399090

            Bug ID: 399090
           Summary: qcolor-from-literal test failure
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: eric.lemanissier at gmail.com
                CC: smartins at kde.org
  Target Milestone: ---

When building clazy with clang-6.0, I get "Enabling AST Matchers workaround.
Consider building with gcc instead. See bug #392223." as expected, but then the
auto tests fail with the following:
[FAIL] qcolor-from-literal
--- qcolor-from-literal/main.cpp.expected       2018-03-27 11:52:07.519079681
+0200
+++ qcolor-from-literal/main.cpp.result 2018-09-22 23:56:48.944396029 +0200
@@ -1,7 +1,2 @@
 qcolor-from-literal/main.cpp:15:22: warning: The ctor taking ints is cheaper
than QColor::setNamedColor(QString) [-Wclazy-qcolor-from-literal]
 qcolor-from-literal/main.cpp:16:36: warning: The ctor taking ints is cheaper
than QColor::setNamedColor(QString) [-Wclazy-qcolor-from-literal]
-qcolor-from-literal/main.cpp:8:15: warning: The QColor ctor taking ints is
cheaper than the one taking string literals [-Wclazy-qcolor-from-literal]
-qcolor-from-literal/main.cpp:11:15: warning: The QColor ctor taking ints is
cheaper than the one taking string literals [-Wclazy-qcolor-from-literal]
-qcolor-from-literal/main.cpp:12:15: warning: The QColor ctor taking ints is
cheaper than the one taking string literals [-Wclazy-qcolor-from-literal]
-qcolor-from-literal/main.cpp:13:15: warning: The QColor ctor taking ints is
cheaper than the one taking string literals [-Wclazy-qcolor-from-literal]
-qcolor-from-literal/main.cpp:17:17: warning: The QColor ctor taking ints is
cheaper than the one taking string literals [-Wclazy-qcolor-from-literal]

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list