lancaster-university / codal-core

MIT License
11 stars 28 forks source link

gcc 12.x.x compatibility functions - newlib support #165

Closed JohnVidler closed 1 year ago

JohnVidler commented 1 year ago

Added a set of C function hooks to patch holes in the Newlib API to squash the GCC v12+ warnings.

This adds the missing functions that gcc-11 and gcc-12 seem to want despite being in -lnosys mode. The warnings don't break the build, but cause a smattering of errors throughout.

JohnVidler commented 1 year ago

Forgot to mark them all as __attribute__((weak)) for easy overrides :)