On 2025-04-11 05:13, Takashi Yano wrote:
On Thu, 10 Apr 2025 15:38:59 -0600
Brian Inglis wrote:
Hi folks,

Latest c-ares build failing with gcc 12.4 and Cygwin 3.6.0 header:

$ uname -srvmo
CYGWIN_NT-10.0-19045 3.6.0-1.x86_64 2025-03-18 17:01 UTC x86_64 Cygwin
$ gcc --version
gcc (GCC) 12.4.0
Copyright (C) 2022 Free Software Foundation, Inc.
...

/usr/include/sys/unistd.h:218:14: error: expected ';' before 'void'
     218 | static inline void setproctitle_init (int _c, char *_a[], char 
*_e[]) {}
         |              ^~~~~
         |              ;

Doing some more `make`-ing in that directory with permutations of specifiers,
complaint comes after `inline`; seems like it does not like `inline` anywhere in
that line, although `__inline__` works just fine!

Perhaps a patch is warranted, possibly conditional on GCC <= 12?

Thanks for the report. Fixed.

Thanks for the quick offical fix - that works well!

--
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                -- Antoine de Saint-Exupéry

Reply via email to