You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/05/03 15:10:34 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6196: libxx: Make HAVE_CXXINITIALIZE workable even HAVE_CXX isn't enabled

xiaoxiang781216 commented on code in PR #6196:
URL: https://github.com/apache/incubator-nuttx/pull/6196#discussion_r863885427


##########
libs/libc/misc/lib_cxx_initialize.c:
##########
@@ -75,13 +77,18 @@ extern uintptr_t _etext;
  *
  ****************************************************************************/
 
-void cxx_initialize(void)
+void lib_cxx_initialize(void)
 {
 #ifdef CONFIG_HAVE_CXXINITIALIZE
   static int inited = 0;
 
   if (inited == 0)
     {
+#if defined(CONFIG_ARCH_SIM) && defined(CONFIG_HOST_MACOS)
+      extern void macho_call_saved_init_funcs(void);

Review Comment:
   Done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org