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

Qt does not compile under OSX Lion or llvm-gcc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.4, 4.8.0
    • 4.7.3
    • None
    • OSX 10.7 or 10.6 with llvm-gcc
    • macOS

    Description

      qcocoasharedwindowmethods_mac_p.h calls [super ...], in situations where the superclass (NSObject) does not respond to the selector. On previous versions of GCC, this was just a warning and it worked because this code was never hit.

      However llvm-gcc is more picky and pulls it out as a type error. Linked is a merge request for a patch which replaces calls to super with returns of the proper error codes for the methods (from the Apple documentation).

      https://qt.gitorious.org/qt/qt/merge_requests/1304

      Let me know if I can do anything to help get this included. Thanks!

      Attachments

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

        Activity

          People

            earthdomain Earth Domain (Inactive)
            mikemcquaid Mike McQuaid
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes