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-b...@kde.org
          Reporter: win...@kde.org
                CC: smart...@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 watching all bug changes.

Reply via email to