[QScintilla] About the patch for fixing an XCode 8 compilation problem

Justin Clift justin at postgresql.org
Thu Oct 13 19:30:31 BST 2016


> On 13 Oct 2016, at 16:02, Alan Garny <agarny at hellix.com> wrote:
> 
> Hi,
> 
> Justin Clift has recently posted a message about a patch for fixing an Xcode 8 compilation problem (see https://www.riverbankcomputing.com/pipermail/qscintilla/2016-October/001160.html). The patch is from ilovezfs, a Homebrew developer, and can be found at https://github.com/sqlitebrowser/sqlitebrowser/commit/969e263e5bf71e63df8ee908cb4a2014b9a55c9b.
> 
> Unfortunately, that patch doesn't work for me. I mean that it compiles fine with Xcode 8, but then the lexer is not always behaving as I would expect. I suspect that it is because the lexer declaration is now outside of the `QsciScintilla` class.
> 
> So, I have put it back in and used the PIMPL idiom to circumvent the original problem (see https://github.com/opencor/opencor/commit/70f3944e36b8b95b3ad92106aeae2f511b3f0e90). I have done some tests on Windows, Linux and macOS, and so far, everything is working as I would expect.

Excellent. :)

Forwarded that email to ilovezfs, who is probably going to adopt it
into things too:

  https://github.com/Homebrew/homebrew-core/pull/5877

I'll look at it for DB4S (sqlitebrowser.org) in the future as well.

Thanks heaps Alan. :D

Regards and best wishes,

Justin Clift

--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi



More information about the QScintilla mailing list