[clazy] [Bug 474657] New: clazy is showing no-module-include issues as "errors" not "warnings"

Allen Winter bugzilla_noreply at kde.org
Mon Sep 18 17:02:49 BST 2023


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

            Bug ID: 474657
           Summary: clazy is showing no-module-include issues as "errors"
                    not "warnings"
    Classification: Developer tools
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: winter at kde.org
                CC: smartins at kde.org
  Target Milestone: ---

STEPS TO REPRODUCE
1.  run clazy on a Qt5 project

OBSERVED RESULT
seen in the output:

In file included from
/home/build/Qt-com/5.15.9/gcc_64/include/QtPrintSupport/QtPrintSupport:3:
/home/build/Qt-com/5.15.9/gcc_64/include/QtPrintSupport/QtPrintSupportDepends:3:10:
error: Module QtCore should not be included directly
[-Wclazy-no-module-include]
#include <QtCore/QtCore>
         ^
/home/build/Qt-com/5.15.9/gcc_64/include/QtPrintSupport/QtPrintSupportDepends:4:10:
error: Module QtGui should not be included directly [-Wclazy-no-module-include]
#include <QtGui/QtGui>
         ^
/home/build/Qt-com/5.15.9/gcc_64/include/QtPrintSupport/QtPrintSupportDepends:5:10:
error: Module QtWidgets should not be included directly
[-Wclazy-no-module-include]
#include <QtWidgets/QtWidgets>
         ^
3 errors generated.

EXPECTED RESULT
how come those are "errors" and not "warnings"?

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


More information about the Unassigned-bugs mailing list