-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Feature: ConfigurationAn issue related to configuring the extension or IntelliSenseAn issue related to configuring the extension or IntelliSenseLanguage Servicemore info neededThe issue report is not actionable in its current stateThe issue report is not actionable in its current state
Description
Type: LanguageService
- OS and Version: MacOS 10.15.7 (19H2)
- VS Code Version:Version: 1.50.1
- C/C++ Extension Version: 1.1.0-insiders2
I have a workspace containing a C and a Rust project. I have a .vscode/c_cpp_properties.json
file in my C project and problems reported including variable "uint8_t" is not a type name
(and more, similar types). Having enabled debugging logs for the cpp extension, I am able to see that the include paths appear to have been set up correctly.
My properties file:
{
"configurations": [
{
"name": "nRF52",
"includePath": [
"${workspaceFolder}/../hsms-cortex-m/target/generated/includes",
"${workspaceFolder}/**",
"${env:SDK_ROOT}/modules/**",
"${env:SDK_ROOT}/components/**",
"${env:SDK_ROOT}/external/**",
"${env:SDK_ROOT}/integration/**"
],
"defines": [
"APP_TIMER_V2",
"APP_TIMER_V2_RTC1_ENABLED",
"BOARD_PCA10056",
"CONFIG_GPIO_AS_PINRESET",
"FLOAT_ABI_HARD",
"NRF52840_XXAA",
"NRF_SD_BLE_API_VERSION=7",
"S140",
"SOFTDEVICE_PRESENT"
],
"macFrameworkPath": [],
"compilerPath": "${env:GNU_INSTALL_ROOT}/arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16",
"cStandard": "c99",
"cppStandard": "c++98",
"intelliSenseMode": "gcc-arm"
}
],
"version": 4
}
I've been looking long and hard at this issue along with previously reported ones.
Does anything look suspicious? Thanks.
Metadata
Metadata
Assignees
Labels
Feature: ConfigurationAn issue related to configuring the extension or IntelliSenseAn issue related to configuring the extension or IntelliSenseLanguage Servicemore info neededThe issue report is not actionable in its current stateThe issue report is not actionable in its current state