mirror of
https://github.com/apache/nuttx.git
synced 2026-09-15 07:01:05 +00:00
INT32_C(x) is currently defined as x ## ll on Xtensa, which produces a long long int constant. However, int32_t is defined as long int on this architecture. This mismatch can break C++ template overload resolution and causes build failures in downstream projects such as PX4. Fix the macro by using x ## l so INT32_C expands to the same underlying type as int32_t. Signed-off-by: Adwait Godbole <adwaitngodbole@gmail.com> |
||
|---|---|---|
| .. | ||
| esp32 | ||
| esp32s2 | ||
| esp32s3 | ||
| lx6 | ||
| lx7 | ||
| xtensa | ||
| .gitignore | ||
| arch.h | ||
| elf.h | ||
| inttypes.h | ||
| irq.h | ||
| limits.h | ||
| loadstore.h | ||
| setjmp.h | ||
| simcall.h | ||
| spinlock.h | ||
| stdarg.h | ||
| syscall.h | ||
| types.h | ||