Re: [PATCH v2 2/2] feature_test_macros.7: document _TIME_BITS

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

 




> On 13 Oct 2022, at 20:17, Alejandro Colomar <alx.manpages@xxxxxxxxx> wrote:
> 
> On 10/13/22 20:52, Sam James wrote:
>>> Am I understanding this right?  _FILE_OFFSET_BITS is required to be set for _TIME_BITS to be also set (in some archs)?  Could you please link directly to a source for that in the commit log?  They are somewhat related, but I'm quite surprised that something to do with file sizes interferes at all with something to do with time.
>>> 
>> Yes, it's shocking, but true!
>> I'll add a reference -- but it's in /usr/include/features-time64.h:
>> https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/features-time64.h
> 
> O.O  Yes, it seems to also be in the glibc documentation.  Weird.
> 

You can imagine my surprise when I only hit this when something failed to compile
with the #error...

Attachment: signature.asc
Description: Message signed with OpenPGP


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux