Re: [PATCH] support ptrdiff_t if it has the same storage size as int, but does not alias it

"'Robin Haberkorn' via scintilla-interest" <[email protected]> Sun, 05 Oct 2025 14:35:04 +0000
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <[email protected]>
On Sun Oct 5, 2025 at 13:01:03 GMT +03, Neil wrote:
> That wastes more memory. There is insufficient benefit in supporting *BSD 
> for anything like this.

I very much doubt that the problem is NetBSD-specific.
It never happend on x86_64 FreeBSD btw.
On the other hand, it has already occurred on Haiku as well.
The code as it is makes non-portable assumptions.
Unless of course these platforms somehow violate the
C standard with their ptrdiff_t definitions, which
we should check as well.

But if you don't want to waste any more memory,
we will find a better solution.

Best regards,
Robin

-- 
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/scintilla-interest/DDAGOZENQL7M.3TCXI1HWL3PGZ%40googlemail.com.
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEB/6AD3js1eGB4raKarMDYY4q6voFAmjighkACgkQarMDYY4q
6vq0Wwf/ZM0D9noxH4gI/VFyJ1DngoeMZ6PNeICPWaIBPr4q4C0efpoJtkQm3+ZD
z05SQMb+/MSBfXfkIU9oo4m7k3J15YLbrqStauXNhr6NH+TRawluydSo3SO3mvgy
zTlvBu72QrvMeWocoRbkomPDl1nmYyZAQtI73M9wrxceEZZ7Ien7/SIudgbs+zQ4
fZ/6Qa+TCRU2c42vnxkWXufnSnA8HG55YPfxTYhP3U9MmE/lDVBOvLajOMzbE5Gz
Ul2DQtSMS1Etzi9xS0Iw9pLp6SlP+ivhec9gIzFkJN+fRZa24J0ibTU27I9XHwWM
kYa1NNmS1aiGtBw7y0E4lvNcxkCmmA==
=UV0y
-----END PGP SIGNATURE-----