<p>Hi,</p>
<p>I've been attempting to generate global tags files with the intent of being able to use them with geany to jump to declarations and definitions as necessary, as they would normally be used.</p>
<p>I'm pretty sure I'm doing everything correctly here but I can't seem to get the desired affect.</p>
<p>Here is an example command I used to generate glib tags:</p>
<p>CFLAGS=<code>pkg-config --cflags glib-2.0</code> geany -g glib_2_0.c.tags /usr/include/glib-2.0/*.h</p>
<p>it ran without issue. When I try and test it works by jumping to something integral to glib, like "gboolean", it does not work, upon inspection of the generated file it looks like this:</p>
<p><code>g_warn_messageÌ1024Í(const char *domain, const char *file, int line, const char g_warningÌ131072Í(...)Ö0 g_weak_ref_clearÌ1024Í(GWeakRef *weak_ref)Ö0Ïvoid g_weak_ref_getÌ1024Í(GWeakRef *weak_ref)Ö0Ïgpointer g_weak_ref_initÌ1024Í(GWeakRef *weak_ref, gpointer object)Ö0Ïvoid g_weak_ref_setÌ1024Í(GWeakRef *weak_ref, gpointer object)Ö0Ïvoid gatomicrefcountÌ4096Ö0Ïvolatile gint  **gbooleanÌ4096Ö0Ïgint** gcharÌ4096Ö0Ïchar gchararrayÌ4096Ö0Ïgchar * gconstpointerÌ4096Ö0Ïconst void * gdoubleÌ4096Ö0Ïdouble getÌ1024Í(gpointer cb_data, GSource *source, GSourceFunc *func, gpointer *data)Πget_propertyÌ1024Í(GObject *object, guint property_id, GValue *value, GParamSpec getdateÌ1024Í(const char *__string)Ö0Ïtm getdate_errÌ32768Ö0Ïint</code></p>
<p>I feel like something is going wrong here, looking at a pre-generated tags file there seems to be file paths in each line, presumably to be able to find the file the declaration/definition is in.</p>
<p>Thanks,</p>
<p>Lukas</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/issues/2354?email_source=notifications&email_token=AAIOWJZGKXGK6WZ2PIWEX7DQOH5OLA5CNFSM4JADRZE2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRME33A">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3XIIXNOOMKF5NFCYLQOH5OLANCNFSM4JADRZEQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ33GN77ZZYKAW3RZW3QOH5OLA5CNFSM4JADRZE2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRME33A.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/issues/2354?email_source=notifications\u0026email_token=AAIOWJZGKXGK6WZ2PIWEX7DQOH5OLA5CNFSM4JADRZE2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRME33A",
"url": "https://github.com/geany/geany/issues/2354?email_source=notifications\u0026email_token=AAIOWJZGKXGK6WZ2PIWEX7DQOH5OLA5CNFSM4JADRZE2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HRME33A",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>