<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sciteco/m4/ax_ptrdiff_aliases_int.m4, branch v2.5.2</title>
<subtitle>Scintilla-based Text Editor and COrrector</subtitle>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/sciteco/'/>
<entry>
<title>AX_PTRDIFF_ALIASES_INT: the check should be more reliable now</title>
<updated>2025-10-26T13:46:51+00:00</updated>
<author>
<name>Robin Haberkorn</name>
<email>rhaberkorn@fmsbw.de</email>
</author>
<published>2025-10-26T13:46:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/sciteco/commit/?id=3ab89b5916579ef08b6b0ee59a2208dc8a1d0c84'/>
<id>3ab89b5916579ef08b6b0ee59a2208dc8a1d0c84</id>
<content type='text'>
* It was failing on OpenSUSE Tumbleweed i586 on OBS,
  resulting in duplicate symbols and build errors.
  This was not reproducible with 32-bit builds on OpenSUSE Tumbleweed x86_64.
* Instead of hoping for a compiler warning to be treated as an error,
  we now use a static assertion with a _Generic expression.
* The scintilla submodule has also been updated since Neil was asking to
  update the documentation as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* It was failing on OpenSUSE Tumbleweed i586 on OBS,
  resulting in duplicate symbols and build errors.
  This was not reproducible with 32-bit builds on OpenSUSE Tumbleweed x86_64.
* Instead of hoping for a compiler warning to be treated as an error,
  we now use a static assertion with a _Generic expression.
* The scintilla submodule has also been updated since Neil was asking to
  update the documentation as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>fixup: AX_PTRDIFF_ALIASES_INT should enable -Werror</title>
<updated>2025-10-19T23:16:46+00:00</updated>
<author>
<name>Robin Haberkorn</name>
<email>rhaberkorn@fmsbw.de</email>
</author>
<published>2025-10-19T23:16:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/sciteco/commit/?id=db7f8031e7c2992de9290877fc49a81dc1ac1dfd'/>
<id>db7f8031e7c2992de9290877fc49a81dc1ac1dfd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>scintilla: use AX_PTRDIFF_ALIASES_INT to check whether ptrdiff_t aliases int</title>
<updated>2025-10-19T22:02:34+00:00</updated>
<author>
<name>Robin Haberkorn</name>
<email>rhaberkorn@fmsbw.de</email>
</author>
<published>2025-10-19T22:02:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/sciteco/commit/?id=243a3be9185412a5a29ba189c77569fa96c85e89'/>
<id>243a3be9185412a5a29ba189c77569fa96c85e89</id>
<content type='text'>
* 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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.
</pre>
</div>
</content>
</entry>
</feed>
