digitalmars.D.announce - dmd 1.067 and 2.052 release
- Walter Bright (5/5) Feb 18 2011 Now with 64 bit Linux support! (Though expect problems with it, it's bra...
- Lars T. Kyllingstad (5/14) Feb 18 2011 64-bit compiler, new date/time module AND a bunch of bug fixes -- is it
- Bernard Helyer (2/2) Feb 18 2011 64 bit Linux support, std.date is gone, alternative linker...
- Russel Winder (16/23) Feb 18 2011 d new.)
- Gour (9/12) Feb 18 2011 What about waf/cmake? Are they ready for 64bit D?
- Russel Winder (20/28) Feb 18 2011 I have not used Waf for a D project, just for C++ and LaTeX ones, so I
- Gour (17/26) Feb 18 2011 Do you use SCons for D projects?
- Russel Winder (30/58) Feb 18 2011 Yes and no. My "projects" that have D code are not a collection of
- Bernard Helyer (5/5) Feb 18 2011 Had to roll back to 2.051, hit this:
- bearophile (7/9) Feb 18 2011 2.052 32-bit version seems to work.
- Andrei Alexandrescu (4/13) Feb 18 2011 Also there are a bunch of bugs I fixed but didn't have the time to put
- Jesse Phillips (2/10) Feb 18 2011
- Jonathan M Davis (12/13) Feb 18 2011 The documentation in the zip file looks updated, but what's on
- Jacob Carlborg (5/11) Feb 18 2011 It's amazing how each new release fixes more and more bugs. Keep up the
- Don (5/14) Feb 18 2011 Eleven man-months to implement a 64-bit backend is pretty impressive, I
- dsimcha (3/17) Feb 18 2011 Since when was it even 11? I thought the first 64 commits weren't until...
- phobophile (2/20) Feb 22 2011 The guy has been promising 64 bits since over a year ago. WTF is wrong w...
- Don (4/25) Feb 22 2011 The first commit was on 21 June 2010. (All that first commit was, was
- Graham St Jack (21/21) Feb 20 2011 Fantastic news! Well done once again to the whole team.
- Daniel Gibson (6/25) Feb 20 2011 If I recall correctly, the next thing to be implemented was support for
- Michel Fortin (14/17) Feb 20 2011 Note that there's now a pull request for that:
- Graham St Jack (5/18) Feb 21 2011 Excellent - hopefully Walter will like it. I will have a go at compiling...
- Stephan (18/24) Feb 21 2011 Nice release in theorie but since i did not get the time to test the
- Dmitry Olshansky (9/37) Feb 21 2011 Having hit similar things earlier, I'll tell you my recipe. I usually
- Stephan (3/43) Feb 21 2011 I doubt that. That was the first thing i tried coming from a
- Extrawurst (10/37) Feb 22 2011 Turns out the root of all evil are the version (ddoc) blocks in phobos.
- Jonathan M Davis (16/49) Feb 22 2011 You pretty much _have_ to do that in a number of cases. For instance, if...
- Bruno Medeiros (6/12) Feb 21 2011 Some doc typos:
Now with 64 bit Linux support! (Though expect problems with it, it's brand new.) http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zip
Feb 18 2011
On Fri, 18 Feb 2011 02:18:55 -0800, Walter Bright wrote:Now with 64 bit Linux support! (Though expect problems with it, it's brand new.) http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zip64-bit compiler, new date/time module AND a bunch of bug fixes -- is it christmas already? :) Fantastic work, guys! -Lars
Feb 18 2011
64 bit Linux support, std.date is gone, alternative linker... ...so what are you guys doing for the end of the world?
Feb 18 2011
On Fri, 2011-02-18 at 02:18 -0800, Walter Bright wrote:Now with 64 bit Linux support! (Though expect problems with it, it's bran=d new.) Damn, now I have to go and fix the SCons D tool (which currently forces 32-bit on any platform) instead of just being able to grumble about lack of 64-bit support! Great stuff. Thanks.=20 http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip =20 http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zip--=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Feb 18 2011
On Fri, 18 Feb 2011 11:25:39 +0000 Russel Winder <russel russel.org.uk> wrote:Damn, now I have to go and fix the SCons D tool (which currently forces 32-bit on any platform) instead of just being able to grumble about lack of 64-bit support!What about waf/cmake? Are they ready for 64bit D? Sincerely, Gour --=20 =E2=80=9CIn the material world, conceptions of good and bad are all mental speculations=E2=80=A6=E2=80=9D (Sri Caitanya Mahaprabhu) http://atmarama.net | Hlapicina (Croatia) | GPG: CDBF17CA
Feb 18 2011
On Fri, 2011-02-18 at 12:30 +0100, Gour wrote:On Fri, 18 Feb 2011 11:25:39 +0000 Russel Winder <russel russel.org.uk> wrote: =20I have not used Waf for a D project, just for C++ and LaTeX ones, so I am not sure the state of play there. Someone, definitely not me (*), will have to contact Thomas Nagy to ask who to contact to get D tool development. I try and avoid using CMake, so have no idea what the state of play there is. (*) Thomas has banned me from the Waf Google group so I am not able to monitor or contribute to the Waf eco-system. Which is irritating as I really quite like Waf. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winderDamn, now I have to go and fix the SCons D tool (which currently forces 32-bit on any platform) instead of just being able to grumble about lack of 64-bit support!=20 What about waf/cmake? Are they ready for 64bit D?
Feb 18 2011
On Fri, 18 Feb 2011 12:15:48 +0000 Russel Winder <russel russel.org.uk> wrote:I have not used Waf for a D project, just for C++ and LaTeX ones, so I am not sure the state of play there. =20Do you use SCons for D projects?Someone, definitely not me (*), will have to contact Thomas Nagy to ask who to contact to get D tool development.Being busy with other things I put my waf-list subscription into web-only mode.I try and avoid using CMake, so have no idea what the state of play there is.OK.(*) Thomas has banned me from the Waf Google group so I am not able to monitor or contribute to the Waf eco-system. Which is irritating as I really quite like Waf.Really? What happened? I've noticed, when suggesting some improvements to Waf , via IRC, that he tend to be (sometimes) a little bit non-flexible, but banning... :-( Sincerely, Gour --=20 =E2=80=9CIn the material world, conceptions of good and bad are all mental speculations=E2=80=A6=E2=80=9D (Sri Caitanya Mahaprabhu) http://atmarama.net | Hlapicina (Croatia) | GPG: CDBF17CA
Feb 18 2011
On Fri, 2011-02-18 at 14:27 +0100, Gour wrote:On Fri, 18 Feb 2011 12:15:48 +0000 Russel Winder <russel russel.org.uk> wrote: =20Yes and no. My "projects" that have D code are not a collection of source code that gets built into artefacts and possibly installed -- the ideal situation for Waf -- they are collections of programs each of which is compiled and run independently -- a hard problem for Waf, but a sweet spot for SCons.I have not used Waf for a D project, just for C++ and LaTeX ones, so I am not sure the state of play there. =20=20 Do you use SCons for D projects?I think Thomas took exception to me doing a compare and contrast of SCons and Waf and then contributing to the SCons project as well as the Waf project. I surmise that he thinks I am SCons advocate trying to destroy Waf. However as he won't communicate with me via any channel I have tried, I don't actually know why he has banned me. But being banned from a Google group completely excludes you from any access. I had been getting email from the group though, but when I emailed Thomas about something, he cut that off as well. Basically it seems he wants to exclude me from any form of interaction in the Waf community. I keep thinking of "why cut off your finger to spite your nose".Someone, definitely not me (*), will have to contact Thomas Nagy to ask who to contact to get D tool development.=20 Being busy with other things I put my waf-list subscription into web-only mode. =20I try and avoid using CMake, so have no idea what the state of play there is.=20 OK. =20(*) Thomas has banned me from the Waf Google group so I am not able to monitor or contribute to the Waf eco-system. Which is irritating as I really quite like Waf.=20 Really? =20 What happened?I've noticed, when suggesting some improvements to Waf , via IRC, that he tend to be (sometimes) a little bit non-flexible, but banning... :-(I've given up worrying about it. All the clients I have moved to using Waf just don't bother to contribute back the things they develop for their Waf use as a form of existential protest. Anyway this is really rather off-topic for this list! --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Feb 18 2011
Had to roll back to 2.051, hit this: http://d.puremagic.com/issues/show_bug.cgi?id=2962 Bug with SDC. If you're _really_ short of test cases, you can mine through SDC's 12000 odd lines of code. *g* https://github.com/bhelyer/SDC
Feb 18 2011
Walter:http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zip2.052 32-bit version seems to work. Online I don't see the info about the new xorshift: http://www.digitalmars.com/d/2.0/phobos/std_random.html And I suggest to add to that std_random page a note that explains when and why use xorshift instead of the other rnd generators. Bye, bearophile
Feb 18 2011
On 2/18/11 6:10 AM, bearophile wrote:Walter:Also there are a bunch of bugs I fixed but didn't have the time to put in the changelog. Will "hot patch" the changelog when I get a chance. Andreihttp://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zip2.052 32-bit version seems to work. Online I don't see the info about the new xorshift: http://www.digitalmars.com/d/2.0/phobos/std_random.html And I suggest to add to that std_random page a note that explains when and why use xorshift instead of the other rnd generators. Bye, bearophile
Feb 18 2011
Documentation isn't updated to include std.datetime and core.time. Walter Bright Wrote:Now with 64 bit Linux support! (Though expect problems with it, it's brand new.) http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zip
Feb 18 2011
On Friday, February 18, 2011 11:23:17 Jesse Phillips wrote:Documentation isn't updated to include std.datetime and core.time.The documentation in the zip file looks updated, but what's on www.digitalmars.com definitely hasn't been updated. Other modules, such as std.string, std.array, and std.file which have had definite API changes are the same as 2.051 on the website. www.d-programming-language.org has up-to-date documentation, but it's currently built off of the git version, not the most recent release, so while it may be correct now, it's going to drift - unless Andrei changes what he's doing with it and makes it the last release. But I think that he's still experimenting with the site, so it's still in flux and not really intended to be the place to go to look up info on D yet, I believe. - Jonathan M Davis
Feb 18 2011
On 2011-02-18 11:18, Walter Bright wrote:Now with 64 bit Linux support! (Though expect problems with it, it's brand new.) http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zipIt's amazing how each new release fixes more and more bugs. Keep up the good work. -- /Jacob Carlborg
Feb 18 2011
Walter Bright wrote:Now with 64 bit Linux support! (Though expect problems with it, it's brand new.) http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zipEleven man-months to implement a 64-bit backend is pretty impressive, I reckon. Contratulations, Walter! BTW despite the emphasis on D2, this release has one of the highest number of D1 bugfixes, ever.
Feb 18 2011
== Quote from Don (nospam nospam.com)'s articleWalter Bright wrote:Since when was it even 11? I thought the first 64 commits weren't until June of last year.Now with 64 bit Linux support! (Though expect problems with it, it's brand new.) http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zipEleven man-months to implement a 64-bit backend is pretty impressive, I reckon. Contratulations, Walter! BTW despite the emphasis on D2, this release has one of the highest number of D1 bugfixes, ever.
Feb 18 2011
dsimcha Wrote:== Quote from Don (nospam nospam.com)'s articleThe guy has been promising 64 bits since over a year ago. WTF is wrong with you? Not that impressive anymore.Walter Bright wrote:Since when was it even 11? I thought the first 64 commits weren't until June of last year.Now with 64 bit Linux support! (Though expect problems with it, it's brand new.) http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zipEleven man-months to implement a 64-bit backend is pretty impressive, I reckon. Contratulations, Walter! BTW despite the emphasis on D2, this release has one of the highest number of D1 bugfixes, ever.
Feb 22 2011
phobophile wrote:dsimcha Wrote:The first commit was on 21 June 2010. (All that first commit was, was defining the 64 bit register set -- it was really the very beginning of implementation). So it's 8 months today.== Quote from Don (nospam nospam.com)'s articleThe guy has been promising 64 bits since over a year ago. WTF is wrong with you? Not that impressive anymore.Walter Bright wrote:Since when was it even 11? I thought the first 64 commits weren't until June of last year.Now with 64 bit Linux support! (Though expect problems with it, it's brand new.) http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zipEleven man-months to implement a 64-bit backend is pretty impressive, I reckon. Contratulations, Walter! BTW despite the emphasis on D2, this release has one of the highest number of D1 bugfixes, ever.
Feb 22 2011
Fantastic news! Well done once again to the whole team. Now that the 64-bit bugbear is in the bag (along with a big pile of bugs), what is next? Is there a list somewhere detailing the planned language/toolchain changes that will make it into D2? Are we converging on a stable release of the language anytime soon? In particular, are there any plans to re-examine the tail-const issue in light of the compiler patch proposed by Michel Fortin in his post: "const(Object)ref is here!" back in December? Some other issues I assume are still in flux (and can remember) are: * Tweaks to usability of const/immutable/shared. * Tweaks to usability of nothrow, pure, etc. * Rollout of const, nothrow, pure, etc thoughout phobos. * Fate of the delete keyword. * Fate of the scope keyword used in object declaration and function parameters. * Meaning of in keyword for function parameters. Is it just const, and if so, why not just use const? I don't have (much) of a personal agenda here - I just want the rough edges smoothed off and a stable language. -- Graham St Jack
Feb 20 2011
Am 21.02.2011 01:51, schrieb Graham St Jack:Fantastic news! Well done once again to the whole team. Now that the 64-bit bugbear is in the bag (along with a big pile of bugs), what is next? Is there a list somewhere detailing the planned language/toolchain changes that will make it into D2? Are we converging on a stable release of the language anytime soon? In particular, are there any plans to re-examine the tail-const issue in light of the compiler patch proposed by Michel Fortin in his post: "const(Object)ref is here!" back in December? Some other issues I assume are still in flux (and can remember) are: * Tweaks to usability of const/immutable/shared. * Tweaks to usability of nothrow, pure, etc. * Rollout of const, nothrow, pure, etc thoughout phobos. * Fate of the delete keyword. * Fate of the scope keyword used in object declaration and function parameters. * Meaning of in keyword for function parameters. Is it just const, and if so, why not just use const? I don't have (much) of a personal agenda here - I just want the rough edges smoothed off and a stable language.If I recall correctly, the next thing to be implemented was support for shared libraries (dmd being able to create create position-independent code ("PIC")). Cheers, - Daniel
Feb 20 2011
On 2011-02-20 20:21:20 -0500, Graham St Jack <Graham.StJack internode.on.net> said:In particular, are there any plans to re-examine the tail-const issue in light of the compiler patch proposed by Michel Fortin in his post: "const(Object)ref is here!" back in December?Note that there's now a pull request for that: <https://github.com/D-Programming-Language/dmd/pull/3> And if someone wants to test it, just download and compile the const-object-ref branch of my dmd fork: <https://github.com/michelf/dmd/tree/const-object-ref> I'm currently waiting for feedback from Walter about this (and possibly others who dare to test it before it's in the mainline) before putting more work on it. -- Michel Fortin michel.fortin michelf.com http://michelf.com/
Feb 20 2011
On 21/02/11 16:14, Michel Fortin wrote:On 2011-02-20 20:21:20 -0500, Graham St Jack <Graham.StJack internode.on.net> said:Excellent - hopefully Walter will like it. I will have a go at compiling your branch and trying it out, but my use cases aren't all that stressful. -- Graham St JackIn particular, are there any plans to re-examine the tail-const issue in light of the compiler patch proposed by Michel Fortin in his post: "const(Object)ref is here!" back in December?Note that there's now a pull request for that: <https://github.com/D-Programming-Language/dmd/pull/3> And if someone wants to test it, just download and compile the const-object-ref branch of my dmd fork: <https://github.com/michelf/dmd/tree/const-object-ref> I'm currently waiting for feedback from Walter about this (and possibly others who dare to test it before it's in the mainline) before putting more work on it.
Feb 21 2011
On 18.02.2011 11:18, Walter Bright wrote:Now with 64 bit Linux support! (Though expect problems with it, it's brand new.) http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zipNice release in theorie but since i did not get the time to test the beta it seems some regressions made it into the release that rendered my codebase unbuildable... The problem is that i cannot reduce it properly. (win32, dmd 2.052) 1) Without changing anything suddenly i get linker errors. I am building an executable linking in a static lib that contains some methods using std.random.uniform. When i now try to build the executable the linker complains about std.random.uniform not being found. What the heck ? The whole rest of phobos is there and this is missing ?? 2) This one is really weird. After removing all the std.random.uniform crap from above it compiles and links but crashes right in the beginning befor even entering my main method. This just happens in debug builds. Funny thing is that this is not due to some unittest of mine. And correct me if i am wrong but phobos is shipped without unittests either, right ? Any help is welcome. Stephan
Feb 21 2011
On 21.02.2011 11:53, Stephan wrote:On 18.02.2011 11:18, Walter Bright wrote:Having hit similar things earlier, I'll tell you my recipe. I usually rebuild *everything* step by step starting with and including all 3rd party D libraries with new dmd. And making sure nothing from old version sliped on the path. Yes, that's tiresome, especially when you haven't touch those libraries for quite a long time (assuming they are sort of stable).Now with 64 bit Linux support! (Though expect problems with it, it's brand new.) http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zipNice release in theorie but since i did not get the time to test the beta it seems some regressions made it into the release that rendered my codebase unbuildable... The problem is that i cannot reduce it properly. (win32, dmd 2.052) 1) Without changing anything suddenly i get linker errors. I am building an executable linking in a static lib that contains some methods using std.random.uniform. When i now try to build the executable the linker complains about std.random.uniform not being found. What the heck ? The whole rest of phobos is there and this is missing ??2) This one is really weird. After removing all the std.random.uniform crap from above it compiles and links but crashes right in the beginning befor even entering my main method. This just happens in debug builds. Funny thing is that this is not due to some unittest of mine. And correct me if i am wrong but phobos is shipped without unittests either, right ? Any help is welcome. Stephan-- Dmitry Olshansky
Feb 21 2011
On 21.02.2011 12:34, Dmitry Olshansky wrote:On 21.02.2011 11:53, Stephan wrote:I doubt that. That was the first thing i tried coming from a professional C++ work flow ;)On 18.02.2011 11:18, Walter Bright wrote:Having hit similar things earlier, I'll tell you my recipe. I usually rebuild *everything* step by step starting with and including all 3rd party D libraries with new dmd. And making sure nothing from old version sliped on the path. Yes, that's tiresome, especially when you haven't touch those libraries for quite a long time (assuming they are sort of stable).Now with 64 bit Linux support! (Though expect problems with it, it's brand new.) http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zipNice release in theorie but since i did not get the time to test the beta it seems some regressions made it into the release that rendered my codebase unbuildable... The problem is that i cannot reduce it properly. (win32, dmd 2.052) 1) Without changing anything suddenly i get linker errors. I am building an executable linking in a static lib that contains some methods using std.random.uniform. When i now try to build the executable the linker complains about std.random.uniform not being found. What the heck ? The whole rest of phobos is there and this is missing ??2) This one is really weird. After removing all the std.random.uniform crap from above it compiles and links but crashes right in the beginning befor even entering my main method. This just happens in debug builds. Funny thing is that this is not due to some unittest of mine. And correct me if i am wrong but phobos is shipped without unittests either, right ? Any help is welcome. Stephan
Feb 21 2011
On 21.02.2011 09:53, Stephan wrote:On 18.02.2011 11:18, Walter Bright wrote:Turns out the root of all evil are the version (ddoc) blocks in phobos. what a great idea to change method SIGNATURES using them. as soon as one uses those methods and tries to build ddocs out of the own code (using -D) methods get referenced that are not actually in the phobos lib. great idea since the signatures differ ! manifests in this bug btw: http://d.puremagic.com/issues/show_bug.cgi?id=5642 I wish i had tested the beta before release..Now with 64 bit Linux support! (Though expect problems with it, it's brand new.) http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zipNice release in theorie but since i did not get the time to test the beta it seems some regressions made it into the release that rendered my codebase unbuildable... The problem is that i cannot reduce it properly. (win32, dmd 2.052) 1) Without changing anything suddenly i get linker errors. I am building an executable linking in a static lib that contains some methods using std.random.uniform. When i now try to build the executable the linker complains about std.random.uniform not being found. What the heck ? The whole rest of phobos is there and this is missing ??2) This one is really weird. After removing all the std.random.uniform crap from above it compiles and links but crashes right in the beginning befor even entering my main method. This just happens in debug builds. Funny thing is that this is not due to some unittest of mine. And correct me if i am wrong but phobos is shipped without unittests either, right ?I still have no clue what this is about.Any help is welcome. Stephan
Feb 22 2011
On Tuesday, February 22, 2011 16:17:39 Extrawurst wrote:On 21.02.2011 09:53, Stephan wrote:You pretty much _have_ to do that in a number of cases. For instance, if a function only exists on Linux or or it only exists on Windows, you have to have a different version block for the documentation. There's no way around that. Now, given that Phobos and druntime are the most likely places to have to worry about that and that many programs don't need to do that sort of thing, Phobos and druntime are going to be changed so that they use a different version identifier for their documentation blocks, so you'll only get the problem if you yourself are forced to have separate documentation blocks. Andrei needs to change the makefiles before the version identifier in the code can be changed, and he didn't do that before the release (we only figured out that we needed it shortly before dmd went into beta, and I believe that Andrei was pretty busy while it was in beta, so he didn't make the change). Regardless, Phobos does it by necessity. Separate blocks for documentation are required in the cases where it uses them. - Jonathan M DavisOn 18.02.2011 11:18, Walter Bright wrote:Turns out the root of all evil are the version (ddoc) blocks in phobos. what a great idea to change method SIGNATURES using them. as soon as one uses those methods and tries to build ddocs out of the own code (using -D) methods get referenced that are not actually in the phobos lib. great idea since the signatures differ ! manifests in this bug btw: http://d.puremagic.com/issues/show_bug.cgi?id=5642 I wish i had tested the beta before release..Now with 64 bit Linux support! (Though expect problems with it, it's brand new.) http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zipNice release in theorie but since i did not get the time to test the beta it seems some regressions made it into the release that rendered my codebase unbuildable... The problem is that i cannot reduce it properly. (win32, dmd 2.052) 1) Without changing anything suddenly i get linker errors. I am building an executable linking in a static lib that contains some methods using std.random.uniform. When i now try to build the executable the linker complains about std.random.uniform not being found. What the heck ? The whole rest of phobos is there and this is missing ??
Feb 22 2011
On 18/02/2011 10:18, Walter Bright wrote:Now with 64 bit Linux support! (Though expect problems with it, it's brand new.) http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.067.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.052.zipSome doc typos: http://www.digitalmars.com/d/2.0/statement.html "Error also contains a pointer to the points to the original exception" -- Bruno Medeiros - Software Engineer
Feb 21 2011