mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 00:21:36 +08:00
Add support for C++ static constructors (at least to a few platforms)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4438 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -362,12 +362,19 @@ examples/helloxx
|
||||
library suupport is available, and that class are instantiated
|
||||
correctly.
|
||||
|
||||
NuttX configuration settings:
|
||||
NuttX configuration prerequisites:
|
||||
|
||||
CONFIG_HAVE_CXX -- Enable C++ Support
|
||||
|
||||
Optional NuttX configuration settings:
|
||||
|
||||
CONFIG_HAVE_CXXINITIALIZE -- Enable support for static constructors
|
||||
(may not be available on all platforms).
|
||||
|
||||
NuttX configuration settings specific to this examp;le:
|
||||
|
||||
CONFIG_EXAMPLES_HELLOXX_BUILTIN -- Build the helloxx example as a
|
||||
"built-in" that can be executed from the NSH command line.
|
||||
CONFIG_EXAMPLES_HELLOXX_NOSTATICCONST - Set if system does not support
|
||||
static constructors.
|
||||
CONFIG_EXAMPLES_HELLOXX_NOSTACKCONST - Set if the system does not
|
||||
support construction of objects on the stack.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user