Re: [PR] nuttx/c++runtime:Adapt the C++ runtime environment [nuttx]

2025-07-02 Thread via GitHub
qls152 commented on code in PR #16664: URL: https://github.com/apache/nuttx/pull/16664#discussion_r2181601461 ## libs/libc/stdlib/lib_atexit.c: ## @@ -87,15 +87,33 @@ int atexit_register(int type, CODE void (*func)(void), FAR void *arg, { return -ret;

Re: [PR] nuttx/c++runtime:Adapt the C++ runtime environment [nuttx]

2025-07-02 Thread via GitHub
qls152 closed pull request #16664: nuttx/c++runtime:Adapt the C++ runtime environment URL: https://github.com/apache/nuttx/pull/16664 -- 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 com

Re: [PR] nuttx/c++runtime:Adapt the C++ runtime environment [nuttx]

2025-07-02 Thread via GitHub
xiaoxiang781216 commented on code in PR #16664: URL: https://github.com/apache/nuttx/pull/16664#discussion_r2181334514 ## libs/libc/stdlib/lib_atexit.c: ## @@ -87,15 +87,33 @@ int atexit_register(int type, CODE void (*func)(void), FAR void *arg, { return -re

[PR] nuttx/c++runtime:Adapt the C++ runtime environment [nuttx]

2025-07-02 Thread via GitHub
qls152 opened a new pull request, #16664: URL: https://github.com/apache/nuttx/pull/16664 Adapt the C++ runtime environment in NuttX to ensure that global and static object initialization and destruction behave consistently with those in Linux processes. In NuttX's flat mode, the constructi