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

Lexer stumbles on system headers

    XMLWordPrintable

Details

    • Windows
    • 80fdc9eb9 (master)

    Description

      qtc.cpp.lexer: #endif without #if
      qtc.cpp.lexer: on line 2335 of file C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include/type_traits
      qtc.cpp.lexer: #endif without #if
      qtc.cpp.lexer: on line 176 of file C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include/vcruntime_new.h
      qtc.cpp.lexer: #endif without #if
      qtc.cpp.lexer: on line 199 of file C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include/vcruntime_new.h
      qtc.cpp.lexer: #endif without #if
      qtc.cpp.lexer: on line 1043 of file C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include/ostream
      qtc.cpp.lexer: #endif without #if
      qtc.cpp.lexer: on line 918 of file C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include/istream
      qtc.cpp.lexer: #endif without #if
      qtc.cpp.lexer: on line 319 of file C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/um/mmsyscom.h

       

      could reproduce this with mmsyscom.h isolated inside the Desktop folder, just opened the file without any project

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes