Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #63560

Re: What is the output of this program ?

From Richard Heathfield <rjh@cpax.org.uk>
Newsgroups comp.lang.c
Subject Re: What is the output of this program ?
Date 2015-06-18 23:01 +0100
Organization go, ion artisan!
Message-ID <mlvf1p$bmp$1@dont-email.me> (permalink)
References <b3e47c82-8ba3-4d5d-bf40-6f87a390b15a@googlegroups.com> <mluk3u$nk3$1@dont-email.me> <pan.2015.06.18.18.48.09@y2plugh.fqdn.th-h.de>

Show all headers | View raw


On 18/06/15 19:48, Ralf Damaschke wrote:
> Richard Heathfield schrieb:
>
>> (If your compiler doesn't support %zd then it probably doesn't support
>> anonymous bitfields, either.)
>
> Here your memory seems to fade. C89 does not have a 'z' length modifier but it
> already has anonymous bit-fields.


You're half-right. You're right that C89 does have anonymous bit-fields, 
but it wasn't my memory that was fading. Quite simply, I never knew 
this, ever. But when I went back to C89 to check your outrageous claim, 
it turned out (outrageously) to be true.

Of course, my memory isn't perfect, but on this occasion it was not 
amnesia that did for me - it was ignorance.

-- 
Richard Heathfield
Email: rjh at cpax dot org dot uk
"Usenet is a strange place" - dmr 29 July 1999
Sig line 4 vacant - apply within

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

What is the output of this program ? Rahul Kumar <rahulkumar5july@gmail.com> - 2015-06-18 06:45 -0700
  Re: What is the output of this program ? James Kuyper <jameskuyper@verizon.net> - 2015-06-18 10:10 -0400
  Re: What is the output of this program ? Richard Heathfield <rjh@cpax.org.uk> - 2015-06-18 15:22 +0100
    Re: What is the output of this program ? Keith Thompson <kst-u@mib.org> - 2015-06-18 08:07 -0700
      Re: What is the output of this program ? Richard Heathfield <rjh@cpax.org.uk> - 2015-06-18 16:11 +0100
    Re: What is the output of this program ? Ralf Damaschke <rwspam@gmx.de> - 2015-06-18 18:48 +0000
      Re: What is the output of this program ? Richard Heathfield <rjh@cpax.org.uk> - 2015-06-18 23:01 +0100
    Re: What is the output of this program ? Tim Rentsch <txr@alumni.caltech.edu> - 2015-07-11 08:31 -0700
      Re: What is the output of this program ? jadill33@gmail.com - 2015-07-13 07:51 -0700
        Re: What is the output of this program ? Tim Rentsch <txr@alumni.caltech.edu> - 2015-07-15 02:51 -0700
          Re: What is the output of this program ? jadill33@gmail.com - 2015-07-15 05:55 -0700
            Re: What is the output of this program ? Tim Rentsch <txr@alumni.caltech.edu> - 2015-07-20 10:01 -0700
      Re: What is the output of this program ? Richard Heathfield <rjh@cpax.org.uk> - 2015-07-13 22:07 +0100
        Re: What is the output of this program ? Keith Thompson <kst-u@mib.org> - 2015-07-13 14:16 -0700
        Re: What is the output of this program ? Tim Rentsch <txr@alumni.caltech.edu> - 2015-07-15 02:11 -0700
          Re: What is the output of this program ? Richard Heathfield <rjh@cpax.org.uk> - 2015-07-15 10:58 +0100
            Re: What is the output of this program ? Tim Rentsch <txr@alumni.caltech.edu> - 2015-07-20 10:05 -0700
  Re: What is the output of this program ? James Kuyper <jameskuyper@verizon.net> - 2015-06-18 12:26 -0400
    Re: What is the output of this program ? Keith Thompson <kst-u@mib.org> - 2015-06-18 10:14 -0700

csiph-web