Skip to content
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
tlapik123 opened this issue Apr 8, 2024 · 0 comments

Comments

@tlapik123
Copy link

tlapik123 commented Apr 8, 2024

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" ...

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant