[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem compiling glob.c with MinGW
From: |
Eli Zaretskii |
Subject: |
Re: Problem compiling glob.c with MinGW |
Date: |
Sat, 12 May 2018 16:11:12 +0300 |
> From: Bruno Haible <address@hidden>
> Cc: Eli Zaretskii <address@hidden>, Tim Rühsen <address@hidden>
> Date: Sat, 12 May 2018 14:59:43 +0200
>
> The warning is harmless. But if some day the DT_* values get to get actually
> used, there is a bug here. I acknowledge there is a problem.
>
> However, 'typeof' works only GNU or GNU-compatible compilers. Whereas d_type
> exists on many platforms (Linux, macOS, FreeBSD, NetBSD, OpenBSD, Cygwin,
> Android), and is 'unsigned char' = 'uint8_t' on all these platforms.
Would it be okay to use 'unsigned' instead of 'uint8_t' on all
platforms?