Extended C++ and library configuration

Technical Note 59204

Architectures:

All

Component:

compiler

Updated:

11/6/2015 12:27 PM

Introduction

When trying to use Extended C++ (EC++), the linker issues errors such as:

Unknown external '__record_needed_destructor'

Solution

Change library configuration to DLIB. This is done with Project > Options > General Options > Library Configuration.

Background

The legacy runtime library, called CLIB, can only be used with C source. The DLIB runtime library supports EC++.

All product names are trademarks or registered trademarks of their respective owners.

We do no longer support Internet Explorer. To get the best experience of iar.com, we recommend upgrading to a modern browser such as Chrome or Edge.