fink / fink-distributions

Package descriptions and patches for Fink
25 stars 38 forks source link

gsasl19-shlibs-2.2.1-1 fails on 15.x with Xcode 16 #1177

Open TheSin- opened 2 weeks ago

TheSin- commented 2 weeks ago
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/opt/sw/include -fvisibility=hidden -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-tautological-constant-out-of-range-compare -Wno-sign-conversion -Wno-type-limits -g -O2 -MT liblgl_la-hmac-md5.lo -MD -MP -MF .deps/liblgl_la-hmac-md5.Tpo -c hmac-md5.c  -fno-common -DPIC -o .libs/liblgl_la-hmac-md5.o
In file included from base64.c:46:
./base64.h:55:1: error: an attribute list cannot appear here
   55 | BASE64_INLINE bool
      | ^~~~~~~~~~~~~
base64.c:45:23: note: expanded from macro 'BASE64_INLINE'
   45 | #define BASE64_INLINE _GL_EXTERN_INLINE
      |                       ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from base64.c:46:
./base64.h:61:1: error: an attribute list cannot appear here
   61 | BASE64_INLINE bool
      | ^~~~~~~~~~~~~
base64.c:45:23: note: expanded from macro 'BASE64_INLINE'
   45 | #define BASE64_INLINE _GL_EXTERN_INLINE
      |                       ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from base64.c:46:
./base64.h:73:1: error: an attribute list cannot appear here
   73 | BASE64_INLINE void
      | ^~~~~~~~~~~~~
base64.c:45:23: note: expanded from macro 'BASE64_INLINE'
   45 | #define BASE64_INLINE _GL_EXTERN_INLINE
      |                       ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from base64.c:49:
./ialloc.h:45:1: error: an attribute list cannot appear here
   45 | IALLOC_INLINE void * _GL_ATTRIBUTE_COLD
      | ^~~~~~~~~~~~~
./ialloc.h:38:24: note: expanded from macro 'IALLOC_INLINE'
   38 | # define IALLOC_INLINE _GL_INLINE
      |                        ^~~~~~~~~~
../../config.h:2095:28: note: expanded from macro '_GL_INLINE'
 2095 | # define _GL_INLINE static _GL_UNUSED
      |                            ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from base64.c:49:
./ialloc.h:55:1: error: an attribute list cannot appear here
   55 | IALLOC_INLINE
      | ^~~~~~~~~~~~~
./ialloc.h:38:24: note: expanded from macro 'IALLOC_INLINE'
   38 | # define IALLOC_INLINE _GL_INLINE
      |                        ^~~~~~~~~~
../../config.h:2095:28: note: expanded from macro '_GL_INLINE'
 2095 | # define _GL_INLINE static _GL_UNUSED
      |                            ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from base64.c:49:
./ialloc.h:66:1: error: an attribute list cannot appear here
   66 | IALLOC_INLINE
      | ^~~~~~~~~~~~~
./ialloc.h:38:24: note: expanded from macro 'IALLOC_INLINE'
   38 | # define IALLOC_INLINE _GL_INLINE
      |                        ^~~~~~~~~~
../../config.h:2095:28: note: expanded from macro '_GL_INLINE'
 2095 | # define _GL_INLINE static _GL_UNUSED
      |                            ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from base64.c:49:
./ialloc.h:89:1: error: an attribute list cannot appear here
   89 | IALLOC_INLINE
      | ^~~~~~~~~~~~~
./ialloc.h:38:24: note: expanded from macro 'IALLOC_INLINE'
   38 | # define IALLOC_INLINE _GL_INLINE
      |                        ^~~~~~~~~~
../../config.h:2095:28: note: expanded from macro '_GL_INLINE'
 2095 | # define _GL_INLINE static _GL_UNUSED
      |                            ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from base64.c:49:
./ialloc.h:112:1: error: an attribute list cannot appear here
  112 | IALLOC_INLINE void *
      | ^~~~~~~~~~~~~
./ialloc.h:38:24: note: expanded from macro 'IALLOC_INLINE'
   38 | # define IALLOC_INLINE _GL_INLINE
      |                        ^~~~~~~~~~
../../config.h:2095:28: note: expanded from macro '_GL_INLINE'
 2095 | # define _GL_INLINE static _GL_UNUSED
      |                            ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
8 errors generated.
make[5]: *** [liblgl_la-base64.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from c-ctype.c:21:
./c-ctype.h:168:1: error: an attribute list cannot appear here
  168 | C_CTYPE_INLINE bool
      | ^~~~~~~~~~~~~~
c-ctype.c:20:24: note: expanded from macro 'C_CTYPE_INLINE'
   20 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE
      |                        ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from c-ctype.c:21:
./c-ctype.h:182:1: error: an attribute list cannot appear here
  182 | C_CTYPE_INLINE bool
      | ^~~~~~~~~~~~~~
c-ctype.c:20:24: note: expanded from macro 'C_CTYPE_INLINE'
   20 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE
      |                        ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from c-ctype.c:21:
./c-ctype.h:197:1: error: an attribute list cannot appear here
  197 | C_CTYPE_INLINE bool
      | ^~~~~~~~~~~~~~
c-ctype.c:20:24: note: expanded from macro 'C_CTYPE_INLINE'
   20 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE
      |                        ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from c-ctype.c:21:
./c-ctype.h:214:1: error: an attribute list cannot appear here
  214 | C_CTYPE_INLINE bool
      | ^~~~~~~~~~~~~~
c-ctype.c:20:24: note: expanded from macro 'C_CTYPE_INLINE'
   20 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE
      |                        ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from c-ctype.c:21:
./c-ctype.h:220:1: error: an attribute list cannot appear here
  220 | C_CTYPE_INLINE bool
      | ^~~~~~~~~~~~~~
c-ctype.c:20:24: note: expanded from macro 'C_CTYPE_INLINE'
   20 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE
      |                        ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from c-ctype.c:21:
./c-ctype.h:232:1: error: an attribute list cannot appear here
  232 | C_CTYPE_INLINE bool
      | ^~~~~~~~~~~~~~
c-ctype.c:20:24: note: expanded from macro 'C_CTYPE_INLINE'
   20 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE
      |                        ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from c-ctype.c:21:
./c-ctype.h:244:1: error: an attribute list cannot appear here
  244 | C_CTYPE_INLINE bool
      | ^~~~~~~~~~~~~~
c-ctype.c:20:24: note: expanded from macro 'C_CTYPE_INLINE'
   20 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE
      |                        ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from c-ctype.c:21:
./c-ctype.h:259:1: error: an attribute list cannot appear here
  259 | C_CTYPE_INLINE bool
      | ^~~~~~~~~~~~~~
c-ctype.c:20:24: note: expanded from macro 'C_CTYPE_INLINE'
   20 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE
      |                        ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from c-ctype.c:21:
./c-ctype.h:271:1: error: an attribute list cannot appear here
  271 | C_CTYPE_INLINE bool
      | ^~~~~~~~~~~~~~
c-ctype.c:20:24: note: expanded from macro 'C_CTYPE_INLINE'
   20 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE
      |                        ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from c-ctype.c:21:
./c-ctype.h:287:1: error: an attribute list cannot appear here
  287 | C_CTYPE_INLINE bool
      | ^~~~~~~~~~~~~~
c-ctype.c:20:24: note: expanded from macro 'C_CTYPE_INLINE'
   20 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE
      |                        ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from c-ctype.c:21:
./c-ctype.h:299:1: error: an attribute list cannot appear here
  299 | C_CTYPE_INLINE bool
      | ^~~~~~~~~~~~~~
c-ctype.c:20:24: note: expanded from macro 'C_CTYPE_INLINE'
   20 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE
      |                        ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from c-ctype.c:21:
./c-ctype.h:311:1: error: an attribute list cannot appear here
  311 | C_CTYPE_INLINE bool
      | ^~~~~~~~~~~~~~
c-ctype.c:20:24: note: expanded from macro 'C_CTYPE_INLINE'
   20 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE
      |                        ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from c-ctype.c:21:
./c-ctype.h:323:1: error: an attribute list cannot appear here
  323 | C_CTYPE_INLINE bool
      | ^~~~~~~~~~~~~~
c-ctype.c:20:24: note: expanded from macro 'C_CTYPE_INLINE'
   20 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE
      |                        ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from c-ctype.c:21:
./c-ctype.h:336:1: error: an attribute list cannot appear here
  336 | C_CTYPE_INLINE int
      | ^~~~~~~~~~~~~~
c-ctype.c:20:24: note: expanded from macro 'C_CTYPE_INLINE'
   20 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE
      |                        ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from c-ctype.c:21:
./c-ctype.h:348:1: error: an attribute list cannot appear here
  348 | C_CTYPE_INLINE int
      | ^~~~~~~~~~~~~~
c-ctype.c:20:24: note: expanded from macro 'C_CTYPE_INLINE'
   20 | #define C_CTYPE_INLINE _GL_EXTERN_INLINE
      |                        ^~~~~~~~~~~~~~~~~
../../config.h:2096:35: note: expanded from macro '_GL_EXTERN_INLINE'
 2096 | # define _GL_EXTERN_INLINE static _GL_UNUSED
      |                                   ^~~~~~~~~~
../../config.h:1846:20: note: expanded from macro '_GL_UNUSED'
 1846 | #define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../config.h:1836:40: note: expanded from macro '_GL_ATTRIBUTE_MAYBE_UNUSED'
 1836 | #    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
      |                                        ^~~~~~~~~~~~~~~~~~~~
15 errors generated.
nieder commented 2 weeks ago

This may be the source of the confusion (macro expanded from macro expanded from macro ...):

/* In C++ and C23, this is spelled [[__maybe_unused__]].
   GCC's syntax is __attribute__ ((__unused__)).
   clang supports both syntaxes.  Except that with clang ≥ 6, < 10, in C++ mode,
   __has_c_attribute (__maybe_unused__) yields true but the use of
   [[__maybe_unused__]] nevertheless produces a warning.  */
#ifndef _GL_ATTRIBUTE_MAYBE_UNUSED
# ifndef _GL_BRACKET_BEFORE_ATTRIBUTE
#  if defined __clang__ && defined __cplusplus
#   if !defined __apple_build_version__ && __clang_major__ >= 10
#    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
#   endif
#  elif _GL_HAVE___HAS_C_ATTRIBUTE
#   if __has_c_attribute (__maybe_unused__)
#    define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]]
#   endif
#  endif
# endif
# ifndef _GL_ATTRIBUTE_MAYBE_UNUSED
#  define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED
# endif
#endif

I have no idea if the problem is that the code is going down the wrong path and the final macro expansion is incorrect. But a bread crumb trail for someone to maybe follow.