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

Deprecate C++11/C++14 compatibility macros in documentation

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • P3: Somewhat important
    • Resolution: Done
    • None
    • 6.4.0 RC1, 6.5.0 Beta1
    • Core: Other
    • None
    • b057659255 (qt/qtbase/dev) b057659255 (qt/tqtc-qtbase/dev) 663e5259f5 (qt/qtbase/6.4) 663e5259f5 (qt/tqtc-qtbase/6.4)

    Description

      qcompilerdetection.h contains macros that were introduced to provide C+11/C14/C+17 compatibility in previous Qt versions. in Qt 6, they aren't necessary, and are just kept for compatibility. A comment in the header files says so:

      Compatibility macros for C++11/14 keywords and expressions.
      Don't use in new code and port away whenever you have a chance.
      

      Anyhow, the the documentation should also reflect the advice.

      Attachments

        For Gerrit Dashboard: QTBUG-105542
        # Subject Branch Project Status CR V

        Activity

          People

            kkohne Kai Köhne
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes