Extended C++ and library configuration

Technical Note 59204

Targets:
All

Component:
Compiler

Updated:
7/16/2008 12:01 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-2016 - All rights reserved.