This is an automated email from the ASF dual-hosted git repository. GUIDINGLI pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 0d003194cec28a3ace1c6c1a949a5b8211da12c4 Author: v-zhangxiaomeng5 <[email protected]> AuthorDate: Sat Nov 8 20:43:08 2025 +0800 arch/tricore: skip syscall for C++ C++ code does not call these syscall stubs directly, so exclude the inline syscall definitions when compiling C++ sources. Signed-off-by: v-zhangxiaomeng5 <[email protected]> --- arch/tricore/include/syscall.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/tricore/include/syscall.h b/arch/tricore/include/syscall.h index e86eb592e45..97a81744cdd 100644 --- a/arch/tricore/include/syscall.h +++ b/arch/tricore/include/syscall.h @@ -126,7 +126,7 @@ * Inline functions ****************************************************************************/ -#ifndef __ASSEMBLY__ +#if !defined(__ASSEMBLY__) && !defined(__cplusplus) /* SVC with SYS_ call number and no parameters */ @@ -452,5 +452,5 @@ extern "C" } #endif -#endif /* __ASSEMBLY__ */ +#endif /* !defined(__ASSEMBLY__) && !defined(__cplusplus) */ #endif /* __ARCH_TRICORE_INCLUDE_SYSCALL_H */
