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

MSYS2 QtCreator Clangd Failed to locate existing mm_malloc.h

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 7.0.1
    • C/C++/Obj-C++ Support
    • None
    • Windows

    Description

      When I upgraded msys2 to current version, qtcreator (mingw64 version) failed to parse normal cpp files, with an error:

      In include file : 'mm_malloc.h' file not found

      This error may be caused by some mismatch of clangd configuation. Using clangd to analyse an mingw-gcc project may need extra config paras, -I/c/msys64/lib/clang/14.0.4/include may fix this problem.

       

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            goldenhawking dunnyee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes