AnsweredAssumed Answered

Linker errors in __init_cpp_exceptions and __fini_cpp_exceptions

Question asked by Sumit Kumar on Jun 30, 2011
Latest reply on Jul 7, 2011 by CrasyCat

Hello all,

 

I am newbie to CW. I am trying to run a project which is a mix of C and C++.

The project includes a static library which has both C and C++ code. There are no compilation errors but I am getting some strange linking errors:

 

Link Error: Undefined : '__init_cpp_exceptions'

Referenced from '__init_cpp_exceptions_reference' in Linker Generated File

 

Link Error: Undefined : '__fini_cpp_exceptions'

Referenced from '__fini_cpp_exceptions_reference' in Linker Generated File

 

I am using PowerPC EABI Linker. Version: Code Warrior PowerPC ISA, Release 8.5 Build 50425.

Any ideas ?

TIA

Outcomes