D - Alignment problem
- Georg Wrede <Georg_member pathlink.com> Jan 18 2004
- Andy Friesen <andy ikagames.com> Jan 18 2004
- Georg Wrede <Georg_member pathlink.com> Jan 18 2004
- John Reimer <John_member pathlink.com> Jan 18 2004
The following code gives
aligntest.d(3): Declaration expected, not '1'
struct ABC
{
align 1 char a;
}
Jan 18 2004
Georg Wrede wrote:The following code gives aligntest.d(3): Declaration expected, not '1' struct ABC { align 1 char a; }
You need parenths. align(1) should work. -- andy
Jan 18 2004
In article <buepq8$188k$1 digitaldaemon.com>, Andy Friesen says...Georg Wrede wrote:The following code gives aligntest.d(3): Declaration expected, not '1' struct ABC { align 1 char a; }
Seems Walter seriously needs someone to take the responsibility for the docs! At this point it is just stupid that he'd have to have that too on his shoulders. Walter's got more pressing stuff to do.
Jan 18 2004
In article <bues9g$1ch5$1 digitaldaemon.com>, Georg Wrede says...In article <buepq8$188k$1 digitaldaemon.com>, Andy Friesen says...Georg Wrede wrote:The following code gives aligntest.d(3): Declaration expected, not '1' struct ABC { align 1 char a; }
Seems Walter seriously needs someone to take the responsibility for the docs! At this point it is just stupid that he'd have to have that too on his shoulders. Walter's got more pressing stuff to do.
Why's that? The docs appear to show the proper use of align in the "attributes" section of the docs (ie, use of parenthesis )
Jan 18 2004








John Reimer <John_member pathlink.com>