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

`qt_internal_set_warnings_are_errors_flags` are not always set

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Build System: CMake
    • None

    Description

      Currently, in the case of `clang-cl` there are no `-Werror` flags added due to

          if (CLANG AND NOT MSVC)
      

      I think it is better to set them there to enforce warnings are errors for `clang-cl` case as well. In the `clang-cl` case, the GNU-style flags are still recognized, so they should be safe to add the set of flags currently used for LLVM clang.

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              lecris Cristian Le
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes