[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] AC_HEADER_MAJOR: Probe <sys/sysmacros.h> first
From: |
Florian Weimer |
Subject: |
Re: [PATCH] AC_HEADER_MAJOR: Probe <sys/sysmacros.h> first |
Date: |
Tue, 29 Nov 2022 14:28:13 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
* Zack Weinberg:
> On Thu, Nov 24, 2022, at 2:16 AM, Florian Weimer wrote:
>> And fix the header name in the documentation.
>>
>> Probing <sys/sysmacros.h> first avoids triggering spurious undeclared
>> function errors. The error is harmless, but is a distraction when
>> looking at build differences.
>
> Hm, does this just trade spurious errors on platforms that provide
> sys/sysmacros.h for spurious errors on platforms that provide
> sys/mkdev.h?
It does. But I don't expect platforms with <sys/mkdev.h> to contribute
to the C99 porting effort. 8-)
Thanks,
Florian