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

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

          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