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 09:51:09 +0000
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <[email protected]>
On Sun Oct 5, 2025 at 08:42:33 GMT +03, Neil wrote:
> Without the explicit instantiations at the bottom of RunStyles.cxx, MSVC 
> builds fail with many 'unresolved external symbol's.
>
> My recollection is that builds for other platforms also failed.
>
Another thing to consider: What if we got rid of the RunStyles<int, X>
instantiation, leaving only RunStyles<ptrdiff_t, X>?
In other words, what if we fixed DISTANCE to ptrdiff_t?
Would we loose much on those platforms where int != ptrdiff_t,
ie. on 64-bit architectures?

-- 
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/DDAANLCXIDGZ.3900JWJ14QMFZ%40googlemail.com.
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEB/6AD3js1eGB4raKarMDYY4q6voFAmjiP44ACgkQarMDYY4q
6vqpQggAle+PcjeykPkTbHw3TiJbwiiqZAvvwH+rFUBbUHnJeRYdqfQ5a1bzfH5z
HKPBb5lGFs30hpeSOe8OChyjD5+ZEQf15MOzOrKRX+f39G4szEesiShg9NEHyf+O
z66eVI/26aOavswEYWVMg7iwvTgEnHeSkUngiihOUEXMN0K3VsekOg+q4GUm3jyk
gVPRdIcjaW4WBwvuRA3f8lj+i9u1jxdYwkZgFD2s+jHoYeVDLn1kDh+r04X4VoYu
XfM/CN1TZu2PUROmk7Akskmj1HcUmBaOzj9ZgVVhm/ud9XIYaooKV4C2c1PmrD6Z
hzSk3kq7aa1xpaU/+sgWIQY5PhQtyA==
=v3Bc
-----END PGP SIGNATURE-----