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

Add support for selecting the C18/C17 C language standard

XMLWordPrintable

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

      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
      

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes