www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Perhaps here is a critical bug of scope statement and scoped

reply redsea <redsea 163.com> writes:
Jarrett Billingsley Wrote:
 I just tried with DMD 1.037, and I get the correct output:

Hi, Jarrett: I download dmd1.037 and dmd1.038, extract the dmd binary and override the one come from tango-0.99.7-bin-linux-dmd.1.033.tar.gz, but I still got the wrong result. I'm using debian testing(lenny) Which os are you using ? windows ? linux ? Which dmd/tango package are you using ? tango-dmd ? dsss ? Thanks very much .
Dec 16 2008
parent reply davidl <davidl 126.com> writes:
在 Wed, 17 Dec 2008 13:30:24 +0800,redsea <redsea 163.com> 写道:

 Jarrett Billingsley Wrote:
 I just tried with DMD 1.037, and I get the correct output:

Hi, Jarrett: I download dmd1.037 and dmd1.038, extract the dmd binary and override the one come from tango-0.99.7-bin-linux-dmd.1.033.tar.gz, but I still got the wrong result. I'm using debian testing(lenny) Which os are you using ? windows ? linux ? Which dmd/tango package are you using ? tango-dmd ? dsss ? Thanks very much .

Are you sure you link against the correct runtime lib? try dmd -v figure it out
Dec 16 2008
next sibling parent reply redsea <redsea 163.com> writes:
 Are you sure you link against the correct runtime lib?
 
 try dmd -v figure it out

I have only a dmd version, tango-0.99.7-bin-linux-dmd.1.033.tar.gz So I assume I would not link with a wrong runtime. dmd -v is : [d]root dmd -v Digital Mars D Compiler v1.033 Copyright (c) 1999-2008 by Digital Mars written by Walter Bright Documentation: http://www.digitalmars.com/d/1.0/index.html
Dec 16 2008
parent redsea <redsea 163.com> writes:
Thanks for your points.

I'm not a D newbie, I known the toolchain I'm using, I said it is a  tango
bound dmd, come from tango-0.99.7-bin-linux-dmd.1.033.tar.gz.   I have just one
dmd compiler when I wrote the testing code snippet.

I wrote serval D projects, and I found such bug a month ago, I split the
function  to get a workaround.  I could not give a simple code snippet at that
time.

I encount this bug again today, and I can not live with it anymore, so I try to
write a code snippet to reproduce this bug.

davidl Wrote:

 在 Wed, 17 Dec 2008 13:50:01 +0800,redsea <redsea 163.com> 写道:
 
 Are you sure you link against the correct runtime lib?

 try dmd -v figure it out

I have only a dmd version, tango-0.99.7-bin-linux-dmd.1.033.tar.gz So I assume I would not link with a wrong runtime. dmd -v is : [d]root dmd -v Digital Mars D Compiler v1.033 Copyright (c) 1999-2008 by Digital Mars written by Walter Bright Documentation: http://www.digitalmars.com/d/1.0/index.html

I meant verbose output of compiling, and -v in dmd actually means verbose not version.. Seems you're using gdmd? Again, try use 1.037 to test the problem and examine the verbose output carefully please. If it's still not working, feel free to post a bug report.

Dec 16 2008
prev sibling parent davidl <davidl 126.com> writes:
在 Wed, 17 Dec 2008 13:50:01 +0800,redsea <redsea 163.com> 写道:

 Are you sure you link against the correct runtime lib?

 try dmd -v figure it out

I have only a dmd version, tango-0.99.7-bin-linux-dmd.1.033.tar.gz So I assume I would not link with a wrong runtime. dmd -v is : [d]root dmd -v Digital Mars D Compiler v1.033 Copyright (c) 1999-2008 by Digital Mars written by Walter Bright Documentation: http://www.digitalmars.com/d/1.0/index.html

I meant verbose output of compiling, and -v in dmd actually means verbose not version.. Seems you're using gdmd? Again, try use 1.037 to test the problem and examine the verbose output carefully please. If it's still not working, feel free to post a bug report.
Dec 16 2008