D - Alignment problem
- Georg Wrede (6/6) Jan 18 2004 The following code gives
- Andy Friesen (3/11) Jan 18 2004 You need parenths. align(1) should work.
- Georg Wrede (5/14) Jan 18 2004 Seems Walter seriously needs someone to take the responsibility
- John Reimer (3/18) Jan 18 2004 Why's that? The docs appear to show the proper use of align in the "att...
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: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.The following code gives aligntest.d(3): Declaration expected, not '1' struct ABC { align 1 char a; }
Jan 18 2004
In article <bues9g$1ch5$1 digitaldaemon.com>, Georg Wrede says...In article <buepq8$188k$1 digitaldaemon.com>, Andy Friesen says...Why's that? The docs appear to show the proper use of align in the "attributes" section of the docs (ie, use of parenthesis )Georg Wrede wrote: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.The following code gives aligntest.d(3): Declaration expected, not '1' struct ABC { align 1 char a; }
Jan 18 2004