I just started working with PlatformIO and migrated over my project from VisualMicro (Arduino extension for Visual Studio). My code compiles and running fine however I’m getting an Intellisense error for strlcat and strlcpy. I’m using a Wemos D1 mini board (ESP8266).
identifier "strlcpy" is undefinedC/C++(20)
Is there a way to getting rid of this error? The other IDE was not giving me one.
does compile but show a VSCode intellisense ‘error’. The source of error is the same as in Identifier is undefined - setenv tzset. PlatformIO does not seem to define _BSD_SOURCE as a macro in the intellisense config, and so some non-standard functions are not found.