diff options
| author | Frédéric Desbiens <[email protected]> | 2026-10-22 10:22:42 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-10-22 10:22:42 -0400 |
| commit | 3a77bc385c6cac82c71e1c36d6817e0860d12526 (patch) | |
| tree | 717a61fc7c6ac749e98deb88ded860590d6e5b7e /ports/cortex_m4/iar/example_build | |
| parent | a5b4739d98b1bb465d3ad551ab9c014fbd5d13de (diff) | |
Fixed the FreeRTOS layer build with GCC 14 by matching the name type (#815)dev
pcTaskGetName() held the name tx_thread_info_get() returns in a const char *, but the
service takes TX_NAME_CONST CHAR **, which is CHAR ** unless TX_ENABLE_CONST_NAMES is
set. GCC 13 reports the mismatch as a warning; GCC 14 makes incompatible pointer types
an error, so the FreeRTOS compatibility layer did not compile with it.
The local now uses TX_NAME_CONST CHAR *, so it follows the service's declaration in
both configurations. The returned pointer is unchanged.
FreeRTOS regression 3/3 with GCC 14.2 and with GCC 13.3, zero warnings with each (one
warning on dev with GCC 13), and 3/3 with zero warnings under GCC 14 with
TX_ENABLE_CONST_NAMES.
Assisted-by: Claude Code (Opus 5.5) <[email protected]>
Diffstat (limited to 'ports/cortex_m4/iar/example_build')
0 files changed, 0 insertions, 0 deletions
