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

build problem in qtdeclarative: clang: error: unknown warning option '-Werror=unused-const-variable'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.2.1
    • 5.2.1
    • None
    • OS X 10.7
      XCode 4.6.3
      Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) Target: x86_64-apple-darwin11.4.2
    • 66e72c2cf08c2d2c381c6c22e4760d0df758af52

    Description

      https://codereview.qt-project.org/#change,74666 introduced this. If we are going to depend on such new compiler features I guess we'll have to test the clang version. http://llvm.org/viewvc/llvm-project?view=revision&revision=190508

      mkspecs/features/qt_common.prf line 34 is testing it and exposing QT_APPLE_CLANG_MAJOR_VERSION, but maybe it's also possible to fix the error there too?

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes