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

`qt_internal_set_warnings_are_errors_flags` are not always set

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes