I am using ChibiStudio 2020-04 on Windows 10, and I've had problems with library inclusion check.
If I include a "standard" library (for example #include "string.h"), the project compiles & works, but ChibiStudio gives a warning about "Unresolved inclusion". I know that warnings can be ignored, but it is inconvenient having to distinguish a wrong warning from a real one.
I have found the reasons, so I would like to suggest a workaround/solution:
- A part of the issue is due to Eclipse on a non-English system like mine. The solution is set the following environment variables in Preferences - C/C++ - Build - Environment. LANG = en_US, LANGUAGE = en_US, LC_ALL = en_US.UTF-8. These should be set to replace native environment ones. Reference: (1), (2), (3).
- Then, as of topic 1759, the standard header paths (like C:\ChibiStudio\tools\GNU Tools ARM Embedded\9.0 2019q4\arm-none-eabi\include) should be included to the project (Properties - C/C++ General - Paths and symbols or Preprocessor Include Paths, Macros etc.). Maybe these folders could be already included in the default configurations.
Thank you
