digitalmars.D.learn - Problems with new DMD
- Charma (14/14) Aug 15 2007 Hello,
- Deewiant (8/26) Aug 15 2007 You're using 2.0, with its new const semantics. It's fairly experimental...
- Charma (4/31) Aug 15 2007 Oh thank you, i confused the experimental 2-alpha versions with the
- Anders Bergh (5/8) Aug 16 2007 I really think D 1.0 should be the default page, instead of 2.0.
- Tomas Lindquist Olsen (2/6) Aug 16 2007 I strongly agree on this!
- Charma (2/8) Aug 16 2007 Yeah, that was the reason i chose 2.0 by mistake...
- Bill Baxter (3/9) Aug 16 2007 I strongly third this!
- Myron Alexander (3/9) Aug 17 2007 I strongly agree as well. Experimental, unfinished products should not
- Tristam MacDonald (3/13) Aug 17 2007 Also in agreement. I love experimental software, but for a beginner it
Hello, I am into D for many weeks now. I started with dmd 1.010 and never thought about updating into the newest version. So now i have the problem that my programs don't want to compile. The most basic commands cause problems... e.g. I can't compile: char[] testText = "Hello world!"; It always cauzes me the error: Error: cannot implicitly convert expression ("Hello world!") of type invariant char[12u] to char[] if I type char[12], it does work but it's no longer changeable, so i get errors in other points when i try to change the text in testText... Anyone an idea what the hell this is about?!? Thanks & sorry for my engrish :) Charma
Aug 15 2007
Charma wrote:Hello, I am into D for many weeks now. I started with dmd 1.010 and never thought about updating into the newest version. So now i have the problem that my programs don't want to compile. The most basic commands cause problems... e.g. I can't compile: char[] testText = "Hello world!"; It always cauzes me the error: Error: cannot implicitly convert expression ("Hello world!") of type invariant char[12u] to char[] if I type char[12], it does work but it's no longer changeable, so i get errors in other points when i try to change the text in testText... Anyone an idea what the hell this is about?!? Thanks & sorry for my engrish :)You're using 2.0, with its new const semantics. It's fairly experimental, I suggest sticking with the latest 1.0 version: http://www.digitalmars.com/d/1.0/changelog.html Read http://www.digitalmars.com/d/final-const-invariant.html and http://www.digitalmars.com/d/const.html to understand what's going on. -- Remove ".doesnotlike.spam" from the mail address.
Aug 15 2007
Deewiant schrieb:Charma wrote:Oh thank you, i confused the experimental 2-alpha versions with the "normal" ones... THanks for the quick help!Hello, I am into D for many weeks now. I started with dmd 1.010 and never thought about updating into the newest version. So now i have the problem that my programs don't want to compile. The most basic commands cause problems... e.g. I can't compile: char[] testText = "Hello world!"; It always cauzes me the error: Error: cannot implicitly convert expression ("Hello world!") of type invariant char[12u] to char[] if I type char[12], it does work but it's no longer changeable, so i get errors in other points when i try to change the text in testText... Anyone an idea what the hell this is about?!? Thanks & sorry for my engrish :)You're using 2.0, with its new const semantics. It's fairly experimental, I suggest sticking with the latest 1.0 version: http://www.digitalmars.com/d/1.0/changelog.html Read http://www.digitalmars.com/d/final-const-invariant.html and http://www.digitalmars.com/d/const.html to understand what's going on.
Aug 15 2007
On 8/16/07, Charma <Motoko_Kusanagi web.de> wrote:Oh thank you, i confused the experimental 2-alpha versions with the "normal" ones... THanks for the quick help!I really think D 1.0 should be the default page, instead of 2.0. Currently it's a bit confusing. -- Anders
Aug 16 2007
Anders Bergh wrote:I really think D 1.0 should be the default page, instead of 2.0. Currently it's a bit confusing.I strongly agree on this!
Aug 16 2007
Tomas Lindquist Olsen schrieb:Anders Bergh wrote:Yeah, that was the reason i chose 2.0 by mistake...I really think D 1.0 should be the default page, instead of 2.0. Currently it's a bit confusing.I strongly agree on this!
Aug 16 2007
Tomas Lindquist Olsen wrote:Anders Bergh wrote:I strongly third this! --bbI really think D 1.0 should be the default page, instead of 2.0. Currently it's a bit confusing.I strongly agree on this!
Aug 16 2007
Tomas Lindquist Olsen wrote:Anders Bergh wrote:I strongly agree as well. Experimental, unfinished products should not be the default on the front page.I really think D 1.0 should be the default page, instead of 2.0. Currently it's a bit confusing.I strongly agree on this!
Aug 17 2007
Also in agreement. I love experimental software, but for a beginner it is hopelessly confusing. Myron Alexander wrote:Tomas Lindquist Olsen wrote:Anders Bergh wrote:I strongly agree as well. Experimental, unfinished products should not be the default on the front page.I really think D 1.0 should be the default page, instead of 2.0. Currently it's a bit confusing.I strongly agree on this!
Aug 17 2007
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tristam MacDonald wrote:Also in agreement. I love experimental software, but for a beginner it is hopelessly confusing. Myron Alexander wrote:Agreed some more, just for good measure. --downs -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxgsIpEPJRr05fBERAghZAJ943C8W4Ulbai1ZrHfvEd8CKF1jygCeM9T7 NqEnfd7hGeOleAUeCuK8Bdk= =MjXE -----END PGP SIGNATURE-----Tomas Lindquist Olsen wrote:Anders Bergh wrote:I strongly agree as well. Experimental, unfinished products should not be the default on the front page.I really think D 1.0 should be the default page, instead of 2.0. Currently it's a bit confusing.I strongly agree on this!
Aug 17 2007
yeah, and i will stay at the stable version as long as i am a beginner ^^;; Tristam MacDonald schrieb:Also in agreement. I love experimental software, but for a beginner it is hopelessly confusing. Myron Alexander wrote:Tomas Lindquist Olsen wrote:Anders Bergh wrote:I strongly agree as well. Experimental, unfinished products should not be the default on the front page.I really think D 1.0 should be the default page, instead of 2.0. Currently it's a bit confusing.I strongly agree on this!
Aug 22 2007