www.digitalmars.com         C & C++   DMDScript  

D.gnu - new release?

reply u <a where.com> writes:
I noticed that GDC in cvs has been updated to D 2.014

But unfortunately D 2.014 has a bug that I cannot use it:

http://d.puremagic.com/issues/show_bug.cgi?id=2154

Is there a plan for a new release? the last release 0.24 is about 1 year ago.
Or anyone know how to update the latest front-end of GDC from DMD sources?
Aug 07 2008
next sibling parent reply Vincent Richomme <forumer anonymous.com> writes:
u a écrit :
 I noticed that GDC in cvs has been updated to D 2.014
 
 But unfortunately D 2.014 has a bug that I cannot use it:
 
 http://d.puremagic.com/issues/show_bug.cgi?id=2154
 
 Is there a plan for a new release? the last release 0.24 is about 1 year ago.
 Or anyone know how to update the latest front-end of GDC from DMD sources?
 
It would be also a good idea to incorporate gcc 4.2.x and 4.3.x patch that some people have posted here...
Aug 07 2008
parent Moritz Warning <moritzwarning web.de> writes:
On Thu, 07 Aug 2008 20:15:41 +0200, Vincent Richomme wrote:

 u a écrit :
 I noticed that GDC in cvs has been updated to D 2.014
 
 But unfortunately D 2.014 has a bug that I cannot use it:
 
 http://d.puremagic.com/issues/show_bug.cgi?id=2154
 
 Is there a plan for a new release? the last release 0.24 is about 1
 year ago. Or anyone know how to update the latest front-end of GDC from
 DMD sources?
 
It would be also a good idea to incorporate gcc 4.2.x and 4.3.x patch that some people have posted here...
I have the impression that those patches are fragmented. Maybe someone could look them up/merge them and test them?
Aug 07 2008
prev sibling parent reply "Koroskin Denis" <2korden gmail.com> writes:
On Thu, 07 Aug 2008 20:28:24 +0400, u <a where.com> wrote:

 I noticed that GDC in cvs has been updated to D 2.014

 But unfortunately D 2.014 has a bug that I cannot use it:

 http://d.puremagic.com/issues/show_bug.cgi?id=3D2154

 Is there a plan for a new release? the last release 0.24 is about 1 ye=
ar =
 ago.
 Or anyone know how to update the latest front-end of GDC from DMD  =
 sources?
Not sure if it is a bug or not. You are trying to access a non-static method. Try one of these solutions= : 1) Make the method static: class A { public static string toString() { return ""; } } 2) change your test code: ... static if (is(typeof((new E()).toString()) : string)) { ... Both work for me.
Aug 07 2008
parent reply u <a where.com> writes:
== Quote from Koroskin Denis (2korden gmail.com)'s article
 On Thu, 07 Aug 2008 20:28:24 +0400, u <a where.com> wrote:

 Not sure if it is a bug or not.
 You are trying to access a non-static method. Try one of these solutions
My intention is to test if a certain method/attribute exist for a particular class; not the actual method invocation on an real object (created statically). Or this should be done in a different way in D? BTW, my old code is accept by the latest DMD 2.017 compiler; however, even it generate binary, the behavior is hard to understand (see the attached file in): http://d.puremagic.com/issues/show_bug.cgi?id=2274
Aug 07 2008
parent "Koroskin Denis" <2korden gmail.com> writes:
On Fri, 08 Aug 2008 04:16:38 +0400, u <a where.com> wrote:

 =3D=3D Quote from Koroskin Denis (2korden gmail.com)'s article
 On Thu, 07 Aug 2008 20:28:24 +0400, u <a where.com> wrote:

 Not sure if it is a bug or not.
 You are trying to access a non-static method. Try one of these soluti=
ons
 My intention is to test if a certain method/attribute exist for a  =
 particular
 class; not the actual method invocation on an real object (created  =
 statically).

 Or this should be done in a different way in D?
Yes, you should do it differently.
 BTW, my old code is accept by the latest DMD 2.017 compiler; however, =
=
 even it
 generate binary, the behavior is hard to understand (see the attached =
=
 file in):

 http://d.puremagic.com/issues/show_bug.cgi?id=3D2274
I already answered.
Aug 07 2008