Re: [PATCH] AC_HEADER_MAJOR: Probe <sys/sysmacros.h> first

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* 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





[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux