Hi Dmitry,

On Sun, Sep 12, 2021 at 05:54:33PM +0300, Dmitry Sivachenko wrote:
> there is a new warning in -dev branch (on FreeBSD):
> 
> admin/halog/fgets2.c:38:30: warning: '__GLIBC__' is not defined, evaluates to 
> 0 [-Wundef]
> #if defined(__x86_64__) &&  (__GLIBC__ > 2 || (__GLIBC__ == 2 && 
> __GLIBC_MINOR__ >= 15))
>                              ^
> admin/halog/fgets2.c:38:48: warning: '__GLIBC__' is not defined, evaluates to 
> 0 [-Wundef]
> #if defined(__x86_64__) &&  (__GLIBC__ > 2 || (__GLIBC__ == 2 && 
> __GLIBC_MINOR__ >= 15))
> 
> Looks like Linux-specific condition.

Ah thank you! Another one I missed. I'll fix it, it's caused by the addition
of -Wundef.

Willy

Reply via email to