> Oh yeah, forgot to ping @techee 😁 Always a wise things to do, I'm in a kind of dormant state otherwise ;-).
> But it looks like vimode uses more of Scintilla than other plugins and so it > needs to be treated as C++, not C as it is at line 10650 (--tag=CC and ccache > gcc). Note its the only plugin that explicitly includes ScintillaWidget.h and > defines its own SSM, all others plugins I checked use Geany's SSM, so maybe > that causes issues with something that changed in MSYS2. Possibly good direction of thinking but I don't think it's the plugin itself which causes the error. In addition to the plugin, I build a separate binary `viw` (vi worsened) which in theory is completely independent of Geany and doesn't use any of the Geany's APIs (basically while implementing the plugin, I realized I'm more or less building a separate editor which could be a base for any vi-mode-based editor using Scintilla). `viw` is such a sample editor - I just need Scintilla for it to work - I could have made a copy of Scintilla to the plugin source tree but since it's already part of Geany, I link against libgeany and use Scintilla from there: https://github.com/geany/geany-plugins/blob/5b8bf656d90260779eb98933c0489c77681439e7/vimode/src/Makefile.am#L46-L48 https://github.com/geany/geany-plugins/blob/5b8bf656d90260779eb98933c0489c77681439e7/vimode/src/Makefile.am#L55-L58 So I think this should be changed (not sure how) so it's compiled as a C++ binary, right? -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/1255#issuecomment-1595732163 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany-plugins/issues/1255/[email protected]>
