<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=16764864" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/andy5995">@andy5995</a> <code>_GNU_SOURCE</code> is something the user sets (or user code sets) to get access to library functions that are not normally available, Google will tell you the list this enables, its pretty huge.  Its not often used in user code except to choose between two implementations depending on a non-standard function being available.  If you just use the non-standard function there is no point in testing the macro.</p>
<p>Ctags does define it in one file (from your list) so it wants non-standard for something.  But Geany may be using functions enabled by this anywhere since <code>AC_USE_SYSTEM_EXTENSIONS</code> sets <code>_GNU_SOURCE</code> on <em>all</em> compiles IIUC.</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/2057#issuecomment-455720193">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ4BchhJTHaVSDVq3CfeBnbZCRGEIks5vEliLgaJpZM4aGz8H">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJxZwG9tlPJ3S8AhU_qJz5lwp0uDSks5vEliLgaJpZM4aGz8H.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@elextr in #2057: @andy5995 `_GNU_SOURCE` is something the user sets (or user code sets) to get access to library functions that are not normally available, Google will tell you the list this enables, its pretty huge.  Its not often used in user code except to choose between two implementations depending on a non-standard function being available.  If you just use the non-standard function there is no point in testing the macro.\r\n\r\nCtags does define it in one file (from your list) so it wants non-standard for something.  But Geany may be using functions enabled by this anywhere since `AC_USE_SYSTEM_EXTENSIONS` sets `_GNU_SOURCE` on _all_ compiles IIUC."}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/2057#issuecomment-455720193"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2057#issuecomment-455720193",
"url": "https://github.com/geany/geany/pull/2057#issuecomment-455720193",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>