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,894 of 243,242   
   Keith Thompson to ldo@nz.invalid   
   Re: printf and time_t   
   07 Jan 26 13:32:27   
   
   From: Keith.S.Thompson+u@gmail.com   
      
   Lawrence D’Oliveiro  writes:   
   > On Wed, 7 Jan 2026 12:45:30 -0500, James Russell Kuyper Jr. wrote:   
   >> On a different point, I used time_t as an example. It would have   
   >> been better to use ptrdiff_t instead, since  has a macro   
   >> for that type, and doesn't have one for time_t.   
   >   
   > This is why you have configure scripts, so they can figure out the   
   > right types to use for building on your platform.   
      
   I don't follow.  ptrdiff_t is defined in , and is the correct   
   type for the result of subtracting two pointers.  What relevant   
   information would a configure script give you?   
      
   --   
   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