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

Add support for selecting the C18/C17 C language standard

    XMLWordPrintable

Details

    • All
    • 9004575f4b2aee7bf3c55522affd10555d134c51 (qt/qtbase/dev) da1da999f49b3e694a39c3bb356c942f50679760 (qt/tqtc-qtbase/5.15) 7da01fb51334df2fdc5cbab30fd9d8676711ec4a (qt/qtbase/6.2)

    Description

      It's possible to set the C11 C language standard with

      CONFIG += c11
      

      We should support

      CONFIG += c17
      

      and

      CONFIG += c18
      

      too (both being the same standard).

      Compiler flags:

      gcc: -std=c18   (or the equivalent -std=c17)
      MSVC: /std:c17
      

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              jbornema Joerg Bornemann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes