[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem compiling glob.c with MinGW
From: |
Bruno Haible |
Subject: |
Re: Problem compiling glob.c with MinGW |
Date: |
Sat, 12 May 2018 14:59:43 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-119-generic; KDE/5.18.0; x86_64; ; ) |
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.
Bruno