https://d.puremagic.com/issues/show_bug.cgi?id=11883



--- Comment #5 from Iain Buclaw <ibuc...@ubuntu.com> 2014-01-09 06:27:04 PST ---
(In reply to comment #2)
> (In reply to comment #1)
> > align without an argument will re-set the alignment to default, which may be
> > useful in some situations:
> > 
> > -----
> > struct Foo
> > {
> > align(8):
> >     short a;
> >     short b;
> >     short c;
> > align:
> >     short d;
> > }
> > 
> 
> I feel that has less of a use case, especially when implementing C structs 
> that
> use __attribute__((aligned)) in their code.

And if you really insist, perhaps we should introduce brace syntax { } to
align, just like all other attribute declarations.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to