summaryrefslogtreecommitdiff
path: root/nuttx/libxx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-13 16:22:22 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-13 16:22:22 -0600
commit70b6bb22af51defd713adfd452309f32f0e523aa (patch)
treeb483c578cf6ae76888b89188bedb03f539ab4cd3 /nuttx/libxx
parent3cf6b4d6577c2f467dbb25dd0da8cdc6ad32a7b4 (diff)
downloadpx4-nuttx-70b6bb22af51defd713adfd452309f32f0e523aa.tar.gz
px4-nuttx-70b6bb22af51defd713adfd452309f32f0e523aa.tar.bz2
px4-nuttx-70b6bb22af51defd713adfd452309f32f0e523aa.zip
More trailing whilespace removal
Diffstat (limited to 'nuttx/libxx')
-rw-r--r--nuttx/libxx/Kconfig4
-rw-r--r--nuttx/libxx/Makefile4
-rw-r--r--nuttx/libxx/README.txt4
-rw-r--r--nuttx/libxx/libxx_stdthrow.cxx6
4 files changed, 9 insertions, 9 deletions
diff --git a/nuttx/libxx/Kconfig b/nuttx/libxx/Kconfig
index 9c78342c2..3593939cb 100644
--- a/nuttx/libxx/Kconfig
+++ b/nuttx/libxx/Kconfig
@@ -17,7 +17,7 @@ config HAVE_CXX
bool "Have C++ compiler"
default n
---help---
- Toolchain supports C++ and CXX, CXXFLAGS, and COMPILEXX have been
+ Toolchain supports C++ and CXX, CXXFLAGS, and COMPILEXX have been
defined in the configurations Make.defs file.
if HAVE_CXX
@@ -27,7 +27,7 @@ config HAVE_CXXINITIALIZE
default n
---help---
The platform-specific logic includes support for initialization
- of static C++ instances for this architecture and for the selected
+ of static C++ instances for this architecture and for the selected
toolchain (via up_cxxinitialize()).
config CXX_NEWLONG
diff --git a/nuttx/libxx/Makefile b/nuttx/libxx/Makefile
index 2ab146e9c..261e40de8 100644
--- a/nuttx/libxx/Makefile
+++ b/nuttx/libxx/Makefile
@@ -37,8 +37,8 @@
# Sources
-ASRCS =
-CSRCS =
+ASRCS =
+CSRCS =
CXXSRCS = libxx_cxapurevirtual.cxx libxx_eabi_atexit.cxx libxx_cxa_atexit.cxx
diff --git a/nuttx/libxx/README.txt b/nuttx/libxx/README.txt
index 7a1c51fa7..59ea8d818 100644
--- a/nuttx/libxx/README.txt
+++ b/nuttx/libxx/README.txt
@@ -8,7 +8,7 @@ have a need for more extensive C++ support, the following libraries
are recommended:
- libstdc++ (part of GCC)
- - STLport http://www.stlport.org/
+ - STLport http://www.stlport.org/
- uClibc++ http://cxx.uclibc.org/
- uSTL http://ustl.sourceforge.net/
@@ -24,7 +24,7 @@ At present, only the following are supported here:
- void __cxa_pure_virtual(void);
- int __aeabi_atexit(void* object, void (*destroyer)(void*), void *dso_handle);
- int __cxa_atexit(__cxa_exitfunc_t func, FAR void *arg, FAR void *dso_handle);
-
+
operator new
------------
diff --git a/nuttx/libxx/libxx_stdthrow.cxx b/nuttx/libxx/libxx_stdthrow.cxx
index 57f21b602..29cf5d5e9 100644
--- a/nuttx/libxx/libxx_stdthrow.cxx
+++ b/nuttx/libxx/libxx_stdthrow.cxx
@@ -59,19 +59,19 @@ namespace std
dbg("C++: Vector .at() with argument out of range\n");
abort();
}
-
+
void __throw_length_error(const char*)
{
dbg("C++: Vector resize to excessive length\n");
abort();
}
-
+
void __throw_bad_alloc()
{
dbg("C++: Bad allocation\n");
abort();
}
-
+
void __throw_bad_function_call()
{
dbg("C++: Bad function call\n");