Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19537

In Release mode incorrect highlighting the NDEBUG section

    XMLWordPrintable

Details

    • 233c438a2d9e273703104a5319a9f83db73a0f57 (qt-creator/qt-creator/4.12)

    Description

      In Release mode incorrect highlighting the NDEBUG section, see pict. 1
      At the same time the project assembled correctly, i.e. NDEBUG is present at a command line
      If to add section to the project:
      cpp.defines:

      { var def = []; if (qbs.buildVariant === "release") def.push("NDEBUG"); return def; }

      That in this case highlighting works correctly
      QtC gitrev: 30bd05b792259a559e98c6a19035f7b6adaac1ce

      Attachments

        Activity

          People

            kandeler Christian Kandeler
            hkarel Karelin Pavel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: