<p></p>
<p>Good idea. Here is Geany's and Ctags' <code>config.h</code> on my Windows system: <a href="https://gist.github.com/eht16/e15e74e5f7bffebdf5f4ada38077ea59">https://gist.github.com/eht16/e15e74e5f7bffebdf5f4ada38077ea59</a></p>
<p>I used <code>./autogen.sh && ./configure && make</code> on MSYS2 instead of the <code>mk_mingw.mak</code>.<br>
<a href="https://github.com/universal-ctags/ctags/blob/master/docs/windows.rst">https://github.com/universal-ctags/ctags/blob/master/docs/windows.rst</a> maybe has two interesting pointers:</p>
<ul>
<li><code>--disable-external-sort is a recommended option for Windows builds.</code> I used this flag to create the <code>config.h</code> above</li>
<li><code>If you want to build an iconv enabled version, you must specify WITH_ICONV=yes</code> this is from the section about <code>mk_mingw.mak</code>, the Autotools part automatically detects iconv and on my system CTags was built with iconv support; Geany's <code>config.h</code> is missing the <code>HAVE_ICONV</code> macro</li>
</ul>
<p>Fun fact regarding your first question: Geany defines <code>WIN32</code> whereas Ctags does not :).</p>
<p>Unless you beat me in time by finding the cause, I'll give the two options above a try at the weekend.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2666#issuecomment-734484707">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ4J23I6LI4FJSARCXDSR3CSXANCNFSM4T2VTWXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJZDL3A3PDF36D5PL7LSR3CSXA5CNFSM4T2VTWXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFPDVRYY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2666#issuecomment-734484707",
"url": "https://github.com/geany/geany/pull/2666#issuecomment-734484707",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>