uClibc++ compiles... but it is a long way from linking
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5293 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
b2a7f2fdc8
commit
c1b632c4bc
@ -179,6 +179,7 @@ static void test_rtti(void)
|
|||||||
// Name: test_exception
|
// Name: test_exception
|
||||||
//***************************************************************************/
|
//***************************************************************************/
|
||||||
|
|
||||||
|
#ifdef CONFIG_UCLIBCXX_EXCEPTION
|
||||||
static void test_exception(void)
|
static void test_exception(void)
|
||||||
{
|
{
|
||||||
cout << "test exception==========================" << endl;
|
cout << "test exception==========================" << endl;
|
||||||
@ -192,6 +193,7 @@ static void test_exception(void)
|
|||||||
cout << "Catch exception: " << e.what() << endl;
|
cout << "Catch exception: " << e.what() << endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
//***************************************************************************
|
//***************************************************************************
|
||||||
// Public Functions
|
// Public Functions
|
||||||
@ -213,7 +215,9 @@ int cxxtest_main(int argc, char *argv[])
|
|||||||
test_iostream();
|
test_iostream();
|
||||||
test_stl();
|
test_stl();
|
||||||
test_rtti();
|
test_rtti();
|
||||||
|
#ifdef CONFIG_UCLIBCXX_EXCEPTION
|
||||||
test_exception();
|
test_exception();
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user