Extended C++ and library configuration

Technical Note 59204

Targets:
All

Component:
Compiler

Updated:
11/2/2015 2:00 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.

Related Tech Notes

© IAR Systems 1995-2017 - All rights reserved.