xiaoxiang781216 opened a new pull request, #18841:
URL: https://github.com/apache/nuttx/pull/18841
## Summary
`CONFIG_HAVE_LONG_LONG` is set to `1` for every modern toolchain that NuttX
supports, so the indirection is no longer useful. Drop the config knob and
the surrounding `#ifdef`/`#ifndef CONFIG_HAVE_LONG_LONG` ladders, and treat
`long long` as unconditionally available across the OS.
## Impact
- `include/nuttx/compiler.h`: remove all `#define`/`#undef` of the macro and
the dead `#ifndef CONFIG_HAVE_LONG_LONG` block at the end of the file.
- Headers and sources under `include/`, `drivers/`, `fs/`, `libs/`, `sched/`:
unwrap `#ifdef CONFIG_HAVE_LONG_LONG` (keep then-branch, drop else-branch),
drop `#ifndef CONFIG_HAVE_LONG_LONG` blocks (always dead).
- `libs/libc/libc.csv`: drop unconditional/now-dead rows referencing the
macro and clear the column where the condition was always true.
- `libs/libc/fixedmath/lib_fixedmath.c`: removed (entire file body was the
dead `#ifndef` branch).
- `Documentation/applications/netutils/ntpclient/index.rst`: drop the bullet.
## Testing
- `tools/checkpatch.sh -f` is clean on all changed files (only pre-existing
long-line / case-on-new-line errors remain in untouched code).
## Companion PR
apache/nuttx-apps companion PR is required for the apps/-side preprocessor
clean-up.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]