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

Stop using mixed enum arithmetic

    XMLWordPrintable

Details

    Description

      C++20 deprecated (and C++23 will likely remove) arithmetic between mixed enumerations, as well as enumeration/floating point operations.

      We're using it all over the place, causing countless warnings in GCC11 in C++20 mode. We need to port away from it.

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              peppe Giuseppe D'Angelo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change