diff options
author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-10-20 00:02:34 +0200 |
---|---|---|
committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-10-20 00:02:34 +0200 |
commit | 243a3be9185412a5a29ba189c77569fa96c85e89 (patch) | |
tree | b5aaa8ec1820262392676ad64474efd18982efe3 /src/cmdline.cpp | |
parent | f223cfada825d87dcab393611f604b8014f2b172 (diff) |
scintilla: use AX_PTRDIFF_ALIASES_INT to check whether ptrdiff_t aliases int
* Scintilla had build problems if ptrdiff_t doesn't alias int if it has the
same storage size (e.g. on NetBSD 10 (armv6)).
* Unfortunately, Neil Hodgson refused to merge my previous Scintilla patches that
would have fixed the issue at the core.
See https://groups.google.com/g/scintilla-interest/c/STAv6LgLyCo
* He only agreed to introducing a separate flag to work around the issue
(`-DPTRDIFF_DOESNT_ALIAS_INT`).
* In order to continue to support all standard C/C++ conforming platforms
we therefore need a compile-time check to check for the aliasability
of ptrdiff_t and int.
Diffstat (limited to 'src/cmdline.cpp')
0 files changed, 0 insertions, 0 deletions