platformio / platform-ststm8

ST STM8: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/ststm8
Apache License 2.0
40 stars 26 forks source link

Erreurs #include détectées. Mettez à jour includePath. Les tildes sont désactivés pour cette unité de traduction #26

Closed ipa64 closed 3 years ago

ipa64 commented 3 years ago

Hi, vscode on mac version 1.50.1 platform = ststm8 board = stm8sblue

I get this error in the editor, for most of #include lines. But I can build the project without any issue. To solve it I had to edit setting.json to add this input :

{ "C_Cpp.default.systemIncludePath": ["/Users/iPa64/.platformio/packages/toolchain-sdcc/share/sdcc/include/"] }

maxgerhardt commented 3 years ago

VSCode cannot handle SDCC as the compiler, only Microsoft ones, GCC derivatives and clang. This is expected.