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

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

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 5.12.0 Beta 2
    • 5.11.0 Beta 2
    • Build System
    • None
    • 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

            kkohne Kai Köhne
            _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