My cpp file has #include <wrl.h>, how do I make clang tidy analyze the file without…
Jump to turn (6)
- 1My cpp file has #include , how do I make clang tidy analyze the file without thr
- 2I'm using Qt creator with qmake project files
- 3what about MSCVER, MSVCVER , MSCVER , WINSDKVER , WINTARGETVER etc?
- 4Okay, that might have helped a bit, now I'm getting errors with clang-tidy with
- 5There's another blocker error I would like to clean: C:\Program Files\Autodesk\3
- 6I don't seem to be able to avoid the cannot pass object of non-trivial type 'MST
- User
My cpp file has #include <wrl.h>, how do I make clang tidy analyze the file without throwing errors? I don't care about external headers:
Failed to analyze "C:\Source\repos\Project\File.cpp": Clang-Tidy finished with exit code: 1. Process Error: 5 Output: C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt\wrl\event.h:681:17: error: no member named 'RoTransformError' in the global namespace [clang-diagnostic-error] 681 | ::RoTransformError(hr, S_OK, nullptr); | ~~^ C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt\wrl\event.h:712:18: error: no member named 'RoTransformError' in the global namespace [clang-diagnostic-error] 712 | ::RoTransformError(hr, S_OK, nullptr); | ~~^
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.