Skip to main content

IAR Embedded Workbench for Arm 9.70.x

Not supported C/C++ functionality

In this section:

The following files have contents that are not supported by the IAR C/C++ Compiler:

  • threads.h, condition_variable, future, mutex, shared_mutex, thread, cthreads

  • memory_resource

  • filesystem

Some library functions will have the same address. This occurs, most notably, when the library function parameters differ in type but not in size, as for example, cos(double) and cosl(long double).

The IAR C/C++ Compiler does not support threads as described in the C11 and C++14 standards. However, using DLib_Threads.h and an RTOS, you can build an application with thread support. For more information, see Managing a multithreaded environment.

C++17 parallel algorithms for containers with the header execution are not supported in Libc++.

By default, the Libc++ library does not support deprecated C++17 features such as auto_ptr(), auto_ptr_ref(), random_shuffle, set_unexpected(), get_unexpected(), unary_function(), binary_function(), const_mem_fun(), and const_mem_fun_ref_t().

To enable support for deprecated C++17 features, define the preprocessor symbol _LIBCPP_ENABLE_CXX17_REMOVED_FEATURES prior to including the relevant system header.