mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE
since it is moved to the central place in nuttx side instead Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I544d6110f1ca6460f7c82f970870aa9b1e7ab3dd
This commit is contained in:
@@ -50,8 +50,6 @@
|
||||
# include <nuttx/symtab.h>
|
||||
#endif
|
||||
|
||||
#include "platform/cxxinitialize.h"
|
||||
|
||||
#include "nshlib/nshlib.h"
|
||||
|
||||
/****************************************************************************
|
||||
@@ -80,12 +78,6 @@
|
||||
# undef CONFIG_SYSTEM_NSH_SYMTAB
|
||||
#endif
|
||||
|
||||
/* C++ initialization requires CXX initializer support */
|
||||
|
||||
#if !defined(CONFIG_HAVE_CXX) || !defined(CONFIG_HAVE_CXXINITIALIZE)
|
||||
# undef CONFIG_SYSTEM_NSH_CXXINITIALIZE
|
||||
#endif
|
||||
|
||||
/* The NSH telnet console requires networking support (and TCP/IP) */
|
||||
|
||||
#ifndef CONFIG_NET
|
||||
@@ -137,12 +129,6 @@ int main(int argc, FAR char *argv[])
|
||||
sched_setparam(0, ¶m);
|
||||
}
|
||||
|
||||
#if defined(CONFIG_SYSTEM_NSH_CXXINITIALIZE)
|
||||
/* Call all C++ static constructors */
|
||||
|
||||
up_cxxinitialize();
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SYSTEM_NSH_SYMTAB)
|
||||
/* Make sure that we are using our symbol table */
|
||||
|
||||
|
Reference in New Issue
Block a user