Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-26153

QMAKE_CXXFLAGS_WARN_ON should contain -W for mingw

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.8.3
    • 4.8.2
    • Build tools: Other
    • None
    • Windows 7, Mingw (GCC 4.6)

    Description

      In order to turn warnings on in mingw, one should specify -W -Wall, but QMAKE_CXXFLAGS_WARN_ON specifies only -Wall. As a result "CONFIG += warn_on" doesn't display some warnings like unused variables in functions.

      Please add -W (or -Wextra) to QMAKE_CXXFLAGS_WARN_ON on win32-g++ platform.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            dmitry64 Dmitry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes