12.8 C and C++ library changes between RVCT v3.1 and RVCT v4.0

Various changes have been made to the ARM C and C++ library in RVCT v4.0.

The following changes to the libraries have been made:

Support for non-standard C library math functions

Non-standard C library math functions are no longer supplied in math.h. They are still provided in the library itself. You can still request the header file from ARM if needed. Contact your supplier.

Remove __ENABLE_LEGACY_MATHLIB

In RVCT v2.2 changes were made to the behavior of some mathlib functions to bring them in-line with C99. If you relied on the old non-C99 behavior, you could revert the behavior by defining the following at compile time:

#define __ENABLE_LEGACY_MATHLIB

This has been removed in RVCT v4.0.

Non-ConfidentialPDF file icon PDF versionARM DUI0530M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.