home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 242,983 of 243,242   
   Keith Thompson to David Brown   
   Re: printf and time_t   
   12 Jan 26 16:06:08   
   
   From: Keith.S.Thompson+u@gmail.com   
      
   David Brown  writes:   
   [...]   
      
   Context: %wN and %wfN printf length modifier, new in C23.   
      
   > gcc has supported the format, along with much of C23, since gcc 13,   
   > and ARM's gcc-based toolchain version 13.2 is from October 2023.  (The   
   > current version is 15.2 from December 2025.)  But I don't know about   
   > library support - that is a very different matter.  (Compiler support   
   > for printf really just means checking the format specifiers match the   
   > parameters.)   
      
   Of course printf is implemented in the library, not in the compiler.   
      
   gcc has had format checking for %wN and %wfN since release 13, but   
   that's useless in the absence of library support.   
      
   Support in glibc was added 2023-06-19 and released in version 2.39.   
   Other C library implementations may or may not support it.   
      
   [...]   
      
   --   
   Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com   
   void Void(void) { Void(); } /* The recursive call of the void */   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca