D.gnu - new release?
- u (5/5) Aug 07 2008 I noticed that GDC in cvs has been updated to D 2.014
- Vincent Richomme (3/12) Aug 07 2008 It would be also a good idea to incorporate gcc 4.2.x and 4.3.x patch
- Moritz Warning (3/16) Aug 07 2008 I have the impression that those patches are fragmented.
- Koroskin Denis (16/23) Aug 07 2008 Not sure if it is a bug or not.
- u (7/11) Aug 07 2008 My intention is to test if a certain method/attribute exist for a partic...
- Koroskin Denis (6/21) Aug 07 2008 Yes, you should do it differently.
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
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
On Thu, 07 Aug 2008 20:15:41 +0200, Vincent Richomme wrote:u a écrit :I have the impression that those patches are fragmented. Maybe someone could look them up/merge them and test them?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
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
== Quote from Koroskin Denis (2korden gmail.com)'s articleOn Thu, 07 Aug 2008 20:28:24 +0400, u <a where.com> wrote: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=2274Not sure if it is a bug or not. You are trying to access a non-static method. Try one of these solutions
Aug 07 2008
On Fri, 08 Aug 2008 04:16:38 +0400, u <a where.com> wrote:=3D=3D Quote from Koroskin Denis (2korden gmail.com)'s articleonsOn 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=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=3D2274I already answered.
Aug 07 2008