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

OSX: Clang also masquerades as GCC (Continuation of QTBUG-46833)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.5.0
    • Core: Other
    • None
    • OSX 10.10.3
    • macOS

      Downstream OSX bug: https://github.com/Homebrew/homebrew/pull/41252#discussion-diff-34255151

      Can someone please submit patch on gerrit for review? Thanks!

      +diff --git a/qtbase/src/corelib/global/qcompilerdetection.h b/qtbase/src/corelib/global/qcompilerdetection.h
      +index 7ff1b67..060af29 100644
      +--- a/qtbase/src/corelib/global/qcompilerdetection.h
      ++++ b/qtbase/src/corelib/global/qcompilerdetection.h
      +@@ -155,7 +155,7 @@
      + /* Clang also masquerades as GCC */
      + #    if defined(__apple_build_version__)
      + #      /* http://en.wikipedia.org/wiki/Xcode#Toolchain_Versions */
      +-#      if __apple_build_version__ >= 6020049
      ++#      if __apple_build_version__ >= 7000053
      + #        define Q_CC_CLANG 306
      + #      elif __apple_build_version__ >= 6000051
      + #        define Q_CC_CLANG 305
      

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

            thiago Thiago Macieira
            _kunda_ Kunda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes