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


Groups > comp.lang.c > #28853

Re: alignment shame (?)

From James Kuyper <jameskuyper@verizon.net>
Newsgroups comp.lang.c
Subject Re: alignment shame (?)
Date 2012-11-30 11:45 -0500
Organization A noiseless patient Spider
Message-ID <50B8E2C0.1090401@verizon.net> (permalink)
References <d2e6ec85-00bb-400a-a1b1-24f8711a2c2a@googlegroups.com> <b3e27010-7bd9-49c9-af6c-6b7c8b3511cf@bx4g2000vbb.googlegroups.com> <9f3f3acc-d396-4ad6-9f64-378ede00aefc@googlegroups.com> <9af3e529-5e44-4ac0-8b3b-696ebfd60940@n5g2000vbk.googlegroups.com>

Show all headers | View raw


On 11/30/2012 10:42 AM, ImpalerCore wrote:
...
>> This is much trouble. I need simple
>> modifier to align anything to any
>> boundary, Standarized one would be
>> the best. Simple Alignas_(value) would be
>> good if it will work in broad scope and good
> 
> If you want simple, you'll have to restrict yourself to a single
> platform and compiler that does what you want, which is often good
> enough for applications, but less so for libraries.

Isn't _Alignas() adequate? It's a brand new feature of C2011, but it
already works on far more than one platform and one compiler, and will
probably be much more widely implemented in the near future.

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


Thread

alignment shame (?) fir <profesor.fir@gmail.com> - 2012-11-30 01:25 -0800
  Re: alignment shame (?) Noob <root@127.0.0.1> - 2012-11-30 10:46 +0100
    Re: alignment shame (?) fir <profesor.fir@gmail.com> - 2012-11-30 03:24 -0800
  Re: alignment shame (?) Malcolm McLean <malcolm.mclean5@btinternet.com> - 2012-11-30 05:22 -0800
    Re: alignment shame (?) James Kuyper <jameskuyper@verizon.net> - 2012-11-30 08:52 -0500
      Re: alignment shame (?) fir <profesor.fir@gmail.com> - 2012-11-30 06:55 -0800
  Re: alignment shame (?) ImpalerCore <jadill33@gmail.com> - 2012-11-30 06:56 -0800
    Re: alignment shame (?) fir <profesor.fir@gmail.com> - 2012-11-30 07:17 -0800
      Re: alignment shame (?) ImpalerCore <jadill33@gmail.com> - 2012-11-30 07:42 -0800
        Re: alignment shame (?) James Kuyper <jameskuyper@verizon.net> - 2012-11-30 11:45 -0500
          Re: alignment shame (?) fir <profesor.fir@gmail.com> - 2012-11-30 09:42 -0800
          Re: alignment shame (?) ImpalerCore <jadill33@gmail.com> - 2012-11-30 10:57 -0800
            Re: alignment shame (?) James Kuyper <jameskuyper@verizon.net> - 2012-11-30 14:07 -0500
              Re: alignment shame (?) fir <profesor.fir@gmail.com> - 2012-11-30 11:38 -0800
        Re: alignment shame (?) fir <profesor.fir@gmail.com> - 2012-11-30 09:33 -0800

csiph-web