April 07, 2004
On Wed, 07 Apr 2004 22:49:00 +0100 (08/Apr/04 07:49:00 AM)
, Stewart Gordon <smjg_1998@yahoo.com> wrote:

> Walter wrote:
>> Concentrating on fixing bugs and stabilizing things.
>>  http://www.digitalmars.com/d/changelog.html
>
> "Erroneous anonymous struct member offsets within unions fixed."
>
> Could you please show an example of this working?  My most trivial testcases still don't work.
>
> First line of output:
> 0 4 5
> should be
> 0 0 1
>

Hmmm... I get this ...
Digital Mars D Compiler v0.82

0 0 1
0
120 x
29048 xq
16725 UA


-- 
Derek
April 07, 2004
I'm getting this, too.  For the dmd bin in dmd-0.82.zip, the void[] slicing is not fixed and the dmd binary is exactly the same size as dmd-0.81.zip, as well, so I'm thinking it's not updated.

Walter, can you take a look and possibly post a dmd binary for Linux that is 0.82 to your ftp server?

Thanks,
Brad



s31552@mail.ecc.u-tokyo.ac.jp wrote:
> Hello,
> 
> 
>>Concentrating on fixing bugs and stabilizing things.
> 
> 
> Is the binary for Linux updated? I downloaded it and run
> dmd/bin/dmd. But it said it is still version 0.81.
> 
> 
>>dmd/bin/dmd
> 
> Digital Mars D Compiler v0.81
> Copyright (c) 1999-2004 by Digital Mars written by Walter Bright
> Documentation: www.digitalmars.com/d/index.html
> Usage:
> ...
> 
> ------------------
>  shinichiro.h
>   s31552@mail.ecc.u-tokyo.ac.jp
April 08, 2004
My output using dmd 0.82 on Win/2000 is:

0 0 1
0
120 x
29048 xq
16725 UA

-larry

In article <c51sre$19t9$1@digitaldaemon.com>, Stewart Gordon says...
>
>Walter wrote:
>> Concentrating on fixing bugs and stabilizing things.
>> 
>> http://www.digitalmars.com/d/changelog.html
>
>"Erroneous anonymous struct member offsets within unions fixed."
>
>Could you please show an example of this working?  My most trivial testcases still don't work.
>
>First line of output:
>0 4 5
>should be
>0 0 1
>
>Stewart.
>
>----------
>union Qwert {
>	int yuiop;
>	struct {
>		char asdfg;
>		char zxcvb;
>	}
>}
>
>int main() {
>	Qwert hjkl;
>
>	printf("%d %d %d\n", Qwert.yuiop.offset, Qwert.asdfg.offset,
>	  Qwert.zxcvb.offset);
>	printf("%d %c%c\n", hjkl.yuiop, hjkl.asdfg, hjkl.zxcvb);
>
>	hjkl.asdfg = 'x';
>	printf("%d %c%c\n", hjkl.yuiop, hjkl.asdfg, hjkl.zxcvb);
>
>	hjkl.zxcvb = 'q';
>	printf("%d %c%c\n", hjkl.yuiop, hjkl.asdfg, hjkl.zxcvb);
>
>	hjkl.yuiop = 16725;
>	printf("%d %c%c\n", hjkl.yuiop, hjkl.asdfg, hjkl.zxcvb);
>
>	return 0;
>}
>
>-- 
>My e-mail is valid but not my primary mailbox.  Please keep replies on on the 'group where everyone may benefit.
>


April 10, 2004
"Brad Anderson" <brad@dsource.dot.org> wrote in message news:c5232b$1lg5$1@digitaldaemon.com...
> I'm getting this, too.  For the dmd bin in dmd-0.82.zip, the void[] slicing is not fixed and the dmd binary is exactly the same size as dmd-0.81.zip, as well, so I'm thinking it's not updated.
>
> Walter, can you take a look and possibly post a dmd binary for Linux that is 0.82 to your ftp server?

Fixed. Sorry about that.


April 10, 2004
Thanks!  Works like a charm (so far).

BA

Walter wrote:
> "Brad Anderson" <brad@dsource.dot.org> wrote in message
> news:c5232b$1lg5$1@digitaldaemon.com...
> 
>>I'm getting this, too.  For the dmd bin in dmd-0.82.zip, the void[]
>>slicing is not fixed and the dmd binary is exactly the same size as
>>dmd-0.81.zip, as well, so I'm thinking it's not updated.
>>
>>Walter, can you take a look and possibly post a dmd binary for Linux
>>that is 0.82 to your ftp server?
> 
> 
> Fixed. Sorry about that.
> 
> 
April 15, 2004
larry cowan wrote:
> My output using dmd 0.82 on Win/2000 is:
> 
> 0 0 1
> 0
> 120 x
> 29048 xq
> 16725 UA
<snip top of upside-down reply>

You're right - I tried compiling it again and now it works.  Don't know what went wrong last time....

Stewart.

-- 
My e-mail is valid but not my primary mailbox.  Please keep replies on on the 'group where everyone may benefit.
1 2 3
Next ›   Last »