Subject: | Scintilla crashes because of PERL_GET_NO_CONTEXT |
All perls without PERL_OBJECT (which is mingw and cygwin) crash with
Scintilla.
The reason is that the perlud within Scintilla is smaller than the
perlud for GUI.xs.
The PerlInterpreter var is optimized away in Scintilla only, leading to
access crashes on all struct members behind the PerlInterpreter.
MSVC build obviously define PERL_OBJECT where defining
PERL_GET_NO_CONTEXT does no harm.
Fix: remove the line at the top of Scintilla.xs with
#define PERL_GET_NO_CONTEXT
--
Reini Urban