From 990276740afafeb69f64b01050a99f113bb89fa6 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 1 May 2012 14:52:54 +0000 Subject: Add beginning of NxWM NxConsole application git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4681 42af7a65-404d-4744-a932-0658087f49c3 --- NxWidgets/UnitTests/nxwm/main.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'NxWidgets/UnitTests') 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 +#include #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: -- cgit v1.2.3