Keil Logo Arm Logo

Migration and Compatibility

C and C++ library changes between RVCT v3.1 for µVision and RVCT v4.0 for µVision

C and C++ library changes between RVCT v3.1 for µVision and RVCT v4.0 for µVision

The following changes to the libraries have been made:

Show/hideSupport 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.

Show/hideRemove __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 for µVision.

Copyright © 2011-2012 ARM. All rights reserved.ARM DUI 0593B
Non-ConfidentialID062912

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.