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

CONFIG += c++1z works, CONFIG += c++17 doesn't (erratic)

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.11.0 Beta 2
    • Fix Version/s: 5.12.0 Beta 2
    • Component/s: Build System
    • Labels:
      None
    • Commits:
      452246871660e17033ec5f0faab59f53273728e2

      Description

      Compiling C++17 code (Qt-Creator4.6 and Qt-5.10.1)
       
      Inserting 'CONFIG += c++1z' in .pro file works fine.
      'CONFIG += c++17' seems to work, but then behaves erratic, as an additional '-std=gnu++11' is being added to the make options.
      It did cost me half an hour to figure this out. ;-|
       

        Attachments

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

          Activity

            People

            • Assignee:
              kkohne Kai Köhne
              Reporter:
              _lc_ Ninel Evol
            • Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes