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,453 of 243,242   
   Tim Rentsch to James Kuyper   
   Re: _BitInt(N)   
   15 Dec 25 08:29:21   
   
   From: tr.17687@z991.linuxsc.com   
      
   James Kuyper  writes:   
      
   > On 2025-11-26 04:29, Michael S wrote:   
   >   
   >> On Tue, 25 Nov 2025 18:33:30 +0000   
   >> bart  wrote:   
   >   
   > ...   
   >   
   >>> Then maybe C bitfields could be used, but a bigger problem with those   
   >>> is poor control over layout, which is anyway implementation-defined.   
   >>> (Mine of course don't have that problem!)   
   >>   
   >> According to the language of The Standard, it's not 'poor control'.   
   >> As far as standard requirements goes, there is *no* control on   
   >> layout of bit fields.   
   >   
   > C ;doesn't provide enough control over bit-field layouts to be useful,   
   > but it's an exaggeration to say it provides no control at all:  [...]   
      
   In my experience standard C does provide enough control over bit-field   
   layout to be useful under some conditions.  It doesn't provide as much   
   control as I would like, but in some circumstances it does provide   
   enough to be useful.   
      
   --- 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