I have been doing Windows x64 builds of Scintilla and SciTE since late
last year... and things are not nearly so ugly as they seem to be for
you. ;)
1>SciLexer - 0 error(s), 42 warning(s)
is what I get from VC9 (VS2008), with the W4 setting. 41 of those are
"size_t to int", and 1 is
1>LINK : warning LNK4224: /OPT:NOWIN98 is no longer supported; ignored
And yes, the x64 versions work flawlessly on Vista x64 and Win7 x64. :)
In the past, IIRC Neil has indicated that he does not want the "churn"
in the source tree just to get rid of these... but eventually, who
knows, especially as more people start using Scintilla/SciTE in 64-bit form.
The interesting part is that it took very little adjustment to make
these go away - I think it was 4 files total that needed any edits.
Robert
> In the past, IIRC Neil has indicated that he does not want the "churn"
> in the source tree just to get rid of these...
Conversion to size_t / ssize_t / ptrdiff_t is a bit similar to
adding const to code - it tends to propagate out everywhere. The
common substitution of size_t for int to make both sides agree often
causes comparison bugs since size_t is unsigned. Another issue is that
while size_t is quite portable, I recall some issues with the
portability of ssize_t and ptrdiff_t.
Neil