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

Neil <[email protected]> Thu, 9 Oct 2025 14:08:54 -0700 (PDT)
Newsgroups gmane.comp.lib.scintilla.devel
Message-ID <[email protected]>
Robin Haberkorn:
 

Here's a version of the patch that uses implicit instantiation of 
RunStyles. 
It applies on top of rel-5-5-7. 
Seems to work as well.


Still looks to be too much of a change when a simple -D__HAIKU__ can avoid 
most of it. It increases the proportion of code in headers leading to worse 
build times and is a bad direction to move in.
 

Does it compile on MSVC?


It compiles on MSVC 2022 with the .vcproj inside the IDE and with nmake. I 
haven't tried older MSVC.

What's you policy on includes in headers?


Avoid include statements in headers. There's scripts/HeaderCheck.py to 
ensure consistent header inclusion. I would like to move to C++20 modules.

Neil

-- 
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/509cbea4-3f18-4ac8-9353-ca50828a6230n%40googlegroups.com.