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

NOT ( x AND y ) feature condition incorrectly evaluated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.7.0 FF
    • 6.6
    • Build System: CMake
    • None
    • All
    • 36e043dde (dev), 814de4c2c (dev)

    Description

      See QTBUG-117052 for a real-world occurrence of the issue.

      How to reproduce: place the following feature definition in qtbase/configure.cmake

      qt_feature("foo"
          CONDITION NOT ( OFF AND OFF )
      )
      

      Then run

      ~/dev/qt/dev/qtbase/configure -no-gui -- --trace-expand --trace-redirect=cmake.trace && rg FEATURE_foo < CMakeCache.txt
      

      and observe that the feature is OFF.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes