Re: localename.h:92:3: error: expected declaration specifiers before '_G
From:
Chet Ramey
Subject:
Re: localename.h:92:3: error: expected declaration specifiers before '_GL_ATTRIBUTE_CONST'
Date:
Thu, 13 Aug 2026 10:24:46 -0400
User-agent:
Mozilla Thunderbird
On 8/12/26 5:58 PM, Tianon Gravi wrote:
I'm getting the following error when building the latest "devel"
snapshot in Alpine Linux (3.24):
In file included from setlocale.c:62:
localename.h: In function 'gl_locale_name_default':
localename.h:92:3: error: expected declaration specifiers before
'_GL_ATTRIBUTE_CONST'
92 | _GL_ATTRIBUTE_CONST
| ^~~~~~~~~~~~~~~~~~~
(Followed by a cascade of other errors caused by this.)
Thanks for the report. I wonder if this is a musl libc thing.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/