diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-01 14:52:54 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-01 14:52:54 +0000 |
commit | 990276740afafeb69f64b01050a99f113bb89fa6 (patch) | |
tree | 80c3626717d9db8bc4b3b6726149aff19dbb446c /NxWidgets/UnitTests/nxwm/main.cxx | |
parent | 2812a9f1df22438f8ccd30dd5e5dc48dc3465b3f (diff) | |
download | px4-nuttx-990276740afafeb69f64b01050a99f113bb89fa6.tar.gz px4-nuttx-990276740afafeb69f64b01050a99f113bb89fa6.tar.bz2 px4-nuttx-990276740afafeb69f64b01050a99f113bb89fa6.zip |
Add beginning of NxWM NxConsole application
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4681 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/UnitTests/nxwm/main.cxx')
-rw-r--r-- | NxWidgets/UnitTests/nxwm/main.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/NxWidgets/UnitTests/nxwm/main.cxx b/NxWidgets/UnitTests/nxwm/main.cxx index dffa7b600..b0792c1f4 100644 --- a/NxWidgets/UnitTests/nxwm/main.cxx +++ b/NxWidgets/UnitTests/nxwm/main.cxx @@ -38,6 +38,7 @@ ///////////////////////////////////////////////////////////////////////////// #include <nuttx/config.h> +#include <nuttx/arch.h> #include "ctaskbar.hxx" #include "cstartwindow.hxx" @@ -90,6 +91,12 @@ extern "C" int MAIN_NAME(int argc, char *argv[]); int MAIN_NAME(int argc, char *argv[]) { + // Call all C++ static constructors + +#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE) + up_cxxinitialize(); +#endif + // Create an instance of the Task Bar. // // The general sequence for initializing the task bar is: |