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


Groups > comp.lang.c > #91964

Re: Structure packing & padding: what sizeof reports? Any caveats?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: Structure packing & padding: what sizeof reports? Any caveats?
Date Mon, 08 Aug 2016 08:56:48 -0700
Organization None to speak of
Lines 17
Message-ID <ln60rbw8xr.fsf@kst-u.example.com> (permalink)
References <inbgqb9dm89a0el2m4sh8ntqb8541r7miu@4ax.com> <no9dlh$afe$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Injection-Info mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="1510"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/njwCGAU1y7jTAaUD26I7e"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock sha1:tecWIyDK8SNngmFVBi+mCL7Dp5E= sha1:aISPNP8yvy+C9dmITf8AmlPTpvw=
Xref csiph.com comp.lang.c:91964

Show key headers only | View raw


Richard Heathfield <rjh@cpax.org.uk> writes:
> On 08/08/16 08:15, Test wrote:
[...]
>> I am using GCC
>
> If that matters, you need to be asking in a gcc group. And if it doesn't 
> matter, it doesn't matter.

True -- but this is a great place to ask whether it matters or not.
Mentioning which compiler you're using doesn't hurt; it's better than
leaving that information out and later finding that it's relevant.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

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


Thread

Structure packing & padding: what sizeof reports? Any caveats? Test <test@.nil.invalid.com> - 2016-08-08 10:15 +0300
  Re: Structure packing & padding: what sizeof reports? Any caveats? Ian Collins <ian-news@hotmail.com> - 2016-08-08 19:36 +1200
    Re: Structure packing & padding: what sizeof reports? Any caveats? Richard Heathfield <rjh@cpax.org.uk> - 2016-08-08 08:52 +0100
  Re: Structure packing & padding: what sizeof reports? Any caveats? Richard Heathfield <rjh@cpax.org.uk> - 2016-08-08 08:51 +0100
    Re: Structure packing & padding: what sizeof reports? Any caveats? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-08-08 11:29 +0100
    Re: Structure packing & padding: what sizeof reports? Any caveats? Keith Thompson <kst-u@mib.org> - 2016-08-08 08:56 -0700
  Re: Structure packing & padding: what sizeof reports? Any caveats? Barry Schwarz <schwarzb@dqel.com> - 2016-08-08 01:37 -0700
  Re: Structure packing & padding: what sizeof reports? Any caveats? James Kuyper <jameskuyper@verizon.net> - 2016-08-08 11:17 -0400

csiph-web