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

Wrong preprocessor conditional in qspan.h

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.7.1, 6.8.0 FF
    • 6.7.0
    • Core: Other
    • None
    • Linux/Wayland
    • 699ddcb15 (dev), 681022021 (6.7)

    Description

      In https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/tools/qspan.h?h=6.7.0#n300 there's

      #if __cpp_lib_span 

      instead of

      #ifdef __cpp_lib_span 

      This breaks build of anything that includes QSpan with C++17 and -Werror=undef

      Attachments

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

        Activity

          People

            tsdgeos Albert Astals Cid
            arojas Antonio Rojas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes