Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix mbed 2 builds #3864
I don't see that type used anywhere in retarget header file? What was the warning/error?
The error was
retarget.h is currently responsible for garunteeing that the normally non-portable sys types are defined (ssize_t, off_t...), so it seems reasonable to include stddef as well.
referenced this pull request
Mar 8, 2017
NOTE: The description of this PR gives no indication that this bug broke mbed 2 for the 5.4 rc1 build. There was also no issue raised against mbed-os for which this is the fix (until I raised one today having started to prepare mbed 2 v138 for release). Thus the significance of this PR was assumed to be much lower than it actual is!! This fix SHOULD have gone into RC2 but was not prioritised due to the lack of information. This may block the mbed 2 v138 release.