#56 Compiling CPPUnit on TI TMS470 compiler

open
nobody
None
5
2010-06-15
2010-06-15
Connie Ong
No

Hi,
I am trying to use CPPUnit framework on my Texas Instruments TMS470 (version 4.7) compiler. However I encountered errors below when building the CPPUnit libraries.

!>!> Compiling TestCaller
"../src/TestCase.h", line 95: warning #562: "typeid" is reserved for future use as a keyword const type_info& thisClass = typeid (*this); ^

"../src/TestCase.h", line 95: error #20 : identifier "typeid" is undefined const type_info& thisClass = typeid (*this); ^

>> Compilation failure
NMAKE : warning U4010: 'TestCaller.obj' : build failed; /K specified, continuing ...

!>!> Compiling TestCase
"../src/TestCase.cpp", line 37: error #542: support for exception handling is disabled try { ^

"../src/TestCase.cpp", line 95: error #542: support for exception handling is disabled throw CppUnitException (conditionExpression, lineNumber, fileName); ^

>> Compilation failure
NMAKE : warning U4010: 'TestCase.obj' : build failed; /K specified, continuing ...

1. Has anyone built and used CPPUnit on TI TMS470 compiler?
2. Which is the correct version of CPPUnit framework package to download in order to compile successfully in TI?
3. Where can I download a compatible CPPUnit package for TI ? (Pls provide
link)

Any help provided will be much appreciated. Thank you very much.

Connie

Discussion


Log in to post a comment.