I’ve been working on a project that mixes C and C++ with the ARM compiler for few months without issues. Yesterday I upgraded Mbed Studio to the 1.4.2 version and now the linter is showing many false problems. I refer to them as false because the code compiles just fine.
So far I could identify the following issues:
- Unknown type name 'uintX_t’
I had the stdint.h header included beforehand in another header used by a source file. On this source file the ‘quick fix’ suggests including stdint.h, and if I click fix it is included but the error remains.
- Use of undeclared identifier ‘memcpy’; did you mean ‘wmemcpy’? (fix available)
I need to use ‘memcpy’ and I’m including string.h. Then, even if I click on fix, then the following error appears: No matching function for call to 'wmemcpy’
Again, these “problems” don’t prevent the code from compiling. The errors are only shown in the source files, no matter if they are C or C++.
Any way to fix this? Thanks in advance.