I have a project
Default headers are not being found (<stdlib.h>, etc.)
I can manually put in the path, but that is flawed because if I change tool versions, the path will not change automatically to follow the new tool (and library) version.
I am manually specifying the system library by using 'm, g, gcc & nosys' in the MCU Linker -> Libraries -> Libraries field
If I look in C/C++ General -> Paths and Symbols -> Includes -> GNU C
How do I fix this?
MCUXpresso support has identified the issue and said that while there's no present workaround, there should be a fix in the next MCUXpresso release, expected by the end of 2019 Q2. See the end of this thread.
To follow up on this thread:
The IDE V11.0.0 (and later) have a context menu item (right click on the project main folder) which fixes the parser for any projects which expose this issue:
Tools > Fixup Parsers
I hope this helps,
Erich
Hi Robert,
this is a long-standing flaw with Eclipse/CDT which just seems to bubble on the surface recently (there has been another discussion on the same issue under a different scenario, see https://community.nxp.com/thread/499780 ). Bottom line is that to my knowledge the only fix (better workaround) is to put in the path manually. The IDE team has been informed and they are working on a fix for the next release which should come out in a few months.
Erich