cpptools doesn't parse qcc system include arguments from compile_commands.json #13567
Labels
enhancement
Improvement to an existing feature
external
Feature: Configuration
An issue related to configuring the extension or IntelliSense
Language Service
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
For the following Test_Workspace:
Test_Workspace/
After executing the build, CMake generates compile_commands.json file inside build/qnx710 folder. When adding compile_commands.json path to the c_cpp_properties.json configuration of the workspace, the system includes in with the format "-Wp,-isystem,/home//Test_Workspace/inc" are ignored/not parsed correctly by cpptools. Navigating to the header files in the system include folder is not working, error squiggles and the message:
#include errors detected. Consider updating your compile_commands.json or includePath. Squiggles are disabled for this translation unit (/home/Test_Workspace/main.c).C/C++(1696)
Steps to reproduce:
Expected behavior:
cpptools parsed sytem include path correctly and navigating to the header files in the system include path works without errors. No error squiggles should be shown.
Configuration and Logs
Other Extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: