Files
nuttx/tools
zhangyuan29 895a9423ee tools/mksyscall: fix union illegal type for cast
Some compilers (e.g., Tasking) do not allow forced type casting of
unions. When CONFIG_ARCH_TOOLCHAIN_TASKING is enabled, replace the
direct cast with memcpy to copy the union parameter into a local
variable, avoiding the illegal cast while preserving the correct
behavior. Other compilers still use the original cast approach.

Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com>
2026-04-08 18:38:39 +08:00
..
2025-08-28 10:04:01 +08:00
2025-04-11 09:43:22 +08:00
2024-12-04 22:36:45 +08:00
2026-01-24 23:31:43 +08:00