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.

-- 
Takashi Yano <takashi.y...@nifty.ne.jp>

Reply via email to