启用 c++

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
2022-10-14 15:14:25 +08:00
parent 6308fb2e79
commit 927d8a2bb8
5 changed files with 220 additions and 120 deletions

View File

@@ -34,7 +34,7 @@ RT_WEAK void *__dso_handle = 0;
#endif
RT_WEAK int cplusplus_system_init(void)
int cplusplus_system_init(void)
{
#if defined(__ARMCC_VERSION)
/* If there is no SHT$$INIT_ARRAY, calling
@@ -65,4 +65,4 @@ RT_WEAK int cplusplus_system_init(void)
return 0;
}
INIT_COMPONENT_EXPORT(cplusplus_system_init);
//INIT_COMPONENT_EXPORT(cplusplus_system_init);