This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
tools directory include files are not added when the user uses diacritic in username #1729
Open
Description
Basically what the title says.
When I use a profile that has diacritic in the name only the
c_cpp_properties.json:
"includePath": [
"C:\\Users\\kód\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino",
"C:\\Users\\kód\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\standard"
]
are in list.
If I use one without diacritic I get this:
c_cpp_properties.json:
"includePath": [
"C:\\Users\\username\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\cores\\arduino",
"C:\\Users\\username\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\variants\\standard",
"c:\\users\\username\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\lib\\gcc\\avr\\7.3.0\\include",
"c:\\users\\username\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\lib\\gcc\\avr\\7.3.0\\include-fixed",
"c:\\users\\username\\appdata\\local\\arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7\\avr\\include"
]
It seems like the code for including the bottom 3 is different since they are all in lowercase(?).
Not having these includes in intellisense means it can't see the libc
which causes squiggle include errors (the verify works fine).
#include errors detected. Please update your includePath. ...
cannot open source file "stdlib.h" ...
Metadata
Metadata
Assignees
Labels
No labels