<p></p>
<p>Ah, as I said - on latest main branch <a href="https://gitlab.gnome.org/GNOME/glib/-/blob/main/glib/gthread.c#L699" rel="nofollow">g_once_init_enter</a> still has arg qualified by <code>volatile</code> qualifier right after asking not to use <code>volatile</code>.</p>
<p>The <code>volatile</code> qualifier has been there on the function prototype since the very beginning of <code>g_once_init_enter</code> (as per git blame 2007) and has never been removed.</p>
<p>And I don't see a warning on this PR with clang version 12.0.0-3ubuntu1~21.04.2.</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/2907#issuecomment-927596180">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7E6JVC5ZGOUWUCC63UEAKUBANCNFSM5EY3E5PA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ5CIE3CTQZ3ZTEBHP3UEAKUBA5CNFSM5EY3E5PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG5E75FA.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/2907#issuecomment-927596180",
"url": "https://github.com/geany/geany/pull/2907#issuecomment-927596180",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>