http://d.puremagic.com/issues/show_bug.cgi?id=7396


Iain Buclaw <ibuc...@ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuc...@ubuntu.com


--- Comment #4 from Iain Buclaw <ibuc...@ubuntu.com> 2012-01-29 18:46:43 PST ---
The idea was that, ie:

struct foo
{
    align(8) int bar;
}

be equivalent to:

struct foo
{
    int bar __attribute__((aligned(8)));
};


Currently this is not the case in DMDFE, as the user defined alignment is
pretty much ignored (unless the value 4 or less?).

Slightly off note, but there is also no error if the aligned value given is not
a power of 2, eg: align(3).

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

Reply via email to