diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-01 21:08:56 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-11-01 21:08:56 +0000 |
commit | f5776dec9fdc3b655b7f424340d613664a65e2ab (patch) | |
tree | a99511f64eea990fb7d0f9595cc4933608fc8567 /apps/examples | |
parent | eb26187767da1e752bfdc6571ccb70e3f84fd954 (diff) | |
download | px4-firmware-f5776dec9fdc3b655b7f424340d613664a65e2ab.tar.gz px4-firmware-f5776dec9fdc3b655b7f424340d613664a65e2ab.tar.bz2 px4-firmware-f5776dec9fdc3b655b7f424340d613664a65e2ab.zip |
uClibc++ compiles... but it is a long way from linking
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5293 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples')
-rw-r--r-- | apps/examples/cxxtest/cxxtest_main.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/examples/cxxtest/cxxtest_main.cxx b/apps/examples/cxxtest/cxxtest_main.cxx index c0d4bfbd1..70d54109f 100644 --- a/apps/examples/cxxtest/cxxtest_main.cxx +++ b/apps/examples/cxxtest/cxxtest_main.cxx @@ -179,6 +179,7 @@ static void test_rtti(void) // Name: test_exception //***************************************************************************/ +#ifdef CONFIG_UCLIBCXX_EXCEPTION static void test_exception(void) { cout << "test exception==========================" << endl; @@ -192,6 +193,7 @@ static void test_exception(void) cout << "Catch exception: " << e.what() << endl; } } +#endif //*************************************************************************** // Public Functions @@ -213,7 +215,9 @@ int cxxtest_main(int argc, char *argv[]) test_iostream(); test_stl(); test_rtti(); +#ifdef CONFIG_UCLIBCXX_EXCEPTION test_exception(); +#endif return 0; } |