Files
CMake/Source
Alex Richardson e563201f9e cmList: Use ptrdiff_t for index_type
In commit 87fe031a07 (cmList class: various enhancements, 2023-04-26,
v3.27.0-rc1~142^2~1) this changed from `int` to `intptr_t`, but on some
systems (e.g. CHERI-enabled Arm or RISC-V), `intptr_t` is larger than 64
bits and using it for `index_type` here incurs an unnecessary
performance penalty.  Additionally, using `intptr_t` here results in an
ambiguous overload while calling `cmStrCat` with `intptr_t`: `error:
conversion from '__intcap' to 'const cmAlphaNum' is ambiguous`.

Instead of adding `intptr_t` overloads for `cmAlphaNum` for CHERI
systems, we can change the type to `ptrdiff_t` (which will be the same
as `intptr_t` on all other systems) and avoid carrying diffs that only
compile with a CHERI enabled compiler.
2024-03-08 09:49:03 -05:00
..
2024-01-25 10:40:02 -05:00
2024-03-04 00:02:49 -05:00
2024-01-25 10:40:02 -05:00
2023-11-17 09:58:21 -05:00
2024-03-08 09:49:03 -05:00
2024-02-09 08:58:46 -05:00