You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "extinguish (via GitHub)" <gi...@apache.org> on 2026/01/13 09:29:15 UTC

[PR] arm64_head.S: fix the asm code build error [nuttx]

extinguish opened a new pull request, #17860:
URL: https://github.com/apache/nuttx/pull/17860

   ## Summary
   
   Add #ifndef __ASSEMBLY__ / #endif guards around the C‑language type definitions in include/stddef.h and include/stdint.h to prevent assembly source files (e.g., arm64_head.S) from attempting to parse typedef statements, which triggers “unknown mnemonic” errors during assembly.
   
   ## Impact
   
   Fixes assembly‑file build errors where the assembler incorrectly interprets C typedef keywords as assembly instructions.
   
   ## Testing
   
   Verified that arm64_head.S (and other assembly files) now compile cleanly without “unknown mnemonic” errors.
   


-- 
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


Re: [PR] arm64_head.S: fix the asm code build error [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #17860:
URL: https://github.com/apache/nuttx/pull/17860


-- 
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