January 03, 2007
Chris Nicholson-Sauls wrote:
> Walter Bright wrote:
>>
>>
>> http://www.digitalmars.com/d/changelog.html
>>
>> http://ftp.digitalmars.com/dmd.1.00.zip
> 
> So... who is going to start the dzone/digg/slashdot/blogging/journaling campaign?  ;)
> 
> -- Chris Nicholson-Sauls

So yesterdays articles were just the pre-release party? :-/
January 03, 2007
Good news!

The note about it not being supported for linux dmd is gone from the download page, so I did a very small test: it works! Cheers to Walter!

It's not listed on the changelog though... maybe there are some issues remaining? Or was it just a surprise change?

Christian
January 03, 2007
Walter Bright wrote:
> Chris Miller wrote:
>> std.compiler
>>     uint version_major = 0;
>>     uint version_minor = 176;    /// ditto
>>
>> Whoops.
> 
> There's always something I miss. :-(

This one seems to be recurring though... Maybe you should automate it?
January 03, 2007
Walter Bright escribió:
> 
> 
> http://www.digitalmars.com/d/changelog.html
> 
> http://ftp.digitalmars.com/dmd.1.00.zip

Greeeaaat!!!

Thanks for outputing the imports on the -v flag. It will make some things really much more easier.

However, I tried compiling this file with "dmd -v main.d":

main.d
------
# import std.stdio;
# import a;
#
# void main() { }

(a.d contains "module a;")

and I get this in the output:

c:\dmd\programas>dmd -v main.d
> parse     main
> semantic  main
> semantic2 main
> semantic3 main
> code      main
> generating code for function 'main'
> c:\dmd\dmd\bin\..\..\dm\bin\link.exe main,,,user32+kernel32/noi;

The imports are not getting printed. Am I doing something wrong?

I also tried compiling with "dmd -v -v1 main.d" and the same happens. BTW, what is the "v1" for?

Thanks,
Ary
January 03, 2007
Ary Manzana wrote:
> I also tried compiling with "dmd -v -v1 main.d" and the same happens. BTW, what is the "v1" for?

-v1 is for Version 1 specification usage. So you definitely use the version 1 of D/DMD.

> Thanks,
> Ary
January 03, 2007
Ary Manzana wrote:
> Thanks for outputing the imports on the -v flag. It will make some things really much more easier.
> 
> However, I tried compiling this file with "dmd -v main.d":
> 
> main.d
> ------
> # import std.stdio;
> # import a;
> #
> # void main() { }
> 
> (a.d contains "module a;")
> 
> and I get this in the output:
> 
> c:\dmd\programas>dmd -v main.d
>  > parse     main
>  > semantic  main
>  > semantic2 main
>  > semantic3 main
>  > code      main
>  > generating code for function 'main'
>  > c:\dmd\dmd\bin\..\..\dm\bin\link.exe main,,,user32+kernel32/noi;
> 
> The imports are not getting printed. Am I doing something wrong?

It works for me:
-----
urxae@urxae:~/tmp$ cat test.d
import std.stdio;
import a;

void main() { }
urxae@urxae:~/tmp$ dmd -v test.d
parse     test
semantic  test
import    object
import    std.stdio
import    std.c.stdio
import    std.c.stddef
import    std.c.stdarg
import    std.format
import    std.stdarg
import    std.utf
import    std.c.stdlib
import    std.c.string
import    std.string
import    std.uni
import    std.array
import    std.ctype
import    a
test.d(2): module a cannot read file 'a.d'
-----
(This is on Linux)
That last line is to be expected, of course ;)

So either this is a Windows-only bug (the header of your post indicates it was made from Windows) or you didn't correctly install v1.00...


> I also tried compiling with "dmd -v -v1 main.d" and the same happens. BTW, what is the "v1" for?

-v1 is what you pass to future DMD versions if you want a stable set of features, i.e. it should disable all features added after this release.
So, right now it shouldn't do a thing :).
January 03, 2007
Great, so much bugfixes. Even my one (#749) got fixed, in about 1 week. That's better than in most commercial products ;)

Thanks Walter, please keep up your awesome work.

Best regards,
Daniel

January 03, 2007
Wow that was a short delay! Congratulations and many thanks to Walter and everybody that contributed to D for such a wonderful programming experience!
January 03, 2007
Walter Bright escribió:
> 
> 
> http://www.digitalmars.com/d/changelog.html
> 
> http://ftp.digitalmars.com/dmd.1.00.zip

Congrats and thanks!

-- 
Carlos Santander Bernal
January 03, 2007
Alexander Panek wrote:
> -v1 is for Version 1 specification usage. So you definitely use the version 1 of D/DMD.

Well, -v1 was added back in v0.174, so the fact the compiler accepts -v1 without error doesn't mean it's actually >= v1.00 of the compiler...
And there were language changes made in v0.175 is(== super), v0.177 (.ptr requirement for array --> ptr conversion and others) and v0.178 (nested array literal semantics and empty-';' disallowed). IIRC those versions didn't treat -v1 as an error, so accepting -v1 doesn't actually guarantee the compiler implements the version-1 feature set...