Hello,
does it look like this?
When yes, then just try to compile your program because this error is generated by the clang = it is just an intelisence issue. This error can be ignored.
This was reported many times last year, but still no solution.
- Mbed Keil Studio Cloud IntelliSense “fake” (invalid) errors and header problems (mbed.h error) - Mbed Studio / Bugs - Arm Mbed OS support forum
- https://forums.mbed.com/t/keil-studio-problems-faced-i-below/17682/5?u=johnnyk
- A working MQTT PubSub liberary for mbed-os 6 - Mbed OS - Arm Mbed OS support forum
This is related to Mbed tool (Mbed studio, Keil Studio) and not to MbedOS.
BR, Jan