mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 03:03:34 +08:00
Create an STM32F4Discovery configuration for testing uClibc++
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5300 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user