Skip to content
Snippets Groups Projects
Commit c2fd9412 authored by patacongo's avatar patacongo
Browse files

Create an STM32F4Discovery configuration for testing uClibc++

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5300 42af7a65-404d-4744-a932-0658087f49c3
parent ed2aec2f
No related branches found
No related tags found
No related merge requests found
......@@ -203,21 +203,25 @@ static void test_exception(void)
// Name: cxxtest_main
//***************************************************************************/
int cxxtest_main(int argc, char *argv[])
extern "C"
{
// If C++ initialization for static constructors is supported, then do
// that first
int cxxtest_main(int argc, char *argv[])
{
// If C++ initialization for static constructors is supported, then do
// that first
#ifdef CONFIG_HAVE_CXXINITIALIZE
up_cxxinitialize();
up_cxxinitialize();
#endif
test_iostream();
test_stl();
test_rtti();
test_iostream();
test_stl();
test_rtti();
#ifdef CONFIG_UCLIBCXX_EXCEPTION
test_exception();
test_exception();
#endif
return 0;
return 0;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment