mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 04:23:33 +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:
@@ -12,7 +12,7 @@
|
||||
<h1><big><font color="#3c34ec">
|
||||
<i>NuttX RTOS Porting Guide</i>
|
||||
</font></big></h1>
|
||||
<p>Last Updated: February 22, 2011</p>
|
||||
<p>Last Updated: February 28, 2011</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -3608,6 +3608,9 @@ void (*notify)(FAR struct pm_callback_s *cb, enum pm_state_e pmstate);
|
||||
Toolchain supports C++ and <code>CXX</code>, <code>CXXFLAGS</code>, and <code>COMPILEXX</code>
|
||||
have been defined in the configurations <code>Make.defs</code> file.
|
||||
</li>
|
||||
<li><code>CONFIG_HAVE_CXXINITIALIZE</code>:
|
||||
The platform-specific logic includes support for initialization of static C++ instances for this architecture and for the selected toolchain (via <code>up_cxxinitialize()</code>).
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
Building application code:
|
||||
|
||||
Reference in New Issue
Block a user