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

CONFIG += c++11 does not compile with clang on Mac OS X

    XMLWordPrintable

Details

    • macOS

    Description

      CONFIG = c+11 does not work with clang on Mac OS X

      Reason: #include <initializer_list> in qlist.h
      initializer_list is not found, because the standard mkpsec for clang does
      not use libc++ (-stdlib=libc++).

      Since there are mkspecs for libc++ I guess Q_COMPILER_INITIALIZER_LISTS should not be defined in this case.

      Attachments

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

        Activity

          People

            biochimia João Abecasis
            thohartm Thomas Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes