digitalmars.D.dwt - Checking DateTime.d wont compile
- Rusty (3/3) Mar 06 2008 Compiler complain on line 595
- Jesse Phillips (4/7) Mar 06 2008 What's the compiler message, the OS being used, this is of the dwt
- Rusty (5/14) Mar 06 2008 Not clear on your meaning but message is dwt/widgets/DateTime.d(595): Er...
- Jesse Phillips (6/22) Mar 06 2008 It looks like that section of code was not fully ported yet. This will
- Rusty (2/7) Mar 07 2008 I do not follow it i is not compiling do you mean compiler statement?
- Frank Benoit (5/8) Mar 07 2008 Yesterday i did some edits in dwt.dwthelper.utils to sync it with
- Rusty (14/24) Mar 08 2008 try with 1.027 dmd to compile dwt-linux-e0ffca35fe59,dwt-linux-cf2672c3...
- Frank Benoit (4/29) Mar 08 2008 this is a clear indication that you are using a tango version, which is
- Rusty (2/32) Mar 09 2008 yes thanks I got newer and compiles library now-3 days wow!
Compiler complain on line 595 int s = value.lastIndexOf(' '); whats the problem
Mar 06 2008
On Thu, 06 Mar 2008 21:04:40 -0500, Rusty wrote:Compiler complain on line 595 int s = value.lastIndexOf(' '); whats the problemWhat's the compiler message, the OS being used, this is of the dwt library and not from the samples correct? And sorry I have to ask but, is this Ty Tower by any chance?
Mar 06 2008
Jesse Phillips Wrote:On Thu, 06 Mar 2008 21:04:40 -0500, Rusty wrote:Not clear on your meaning but message is dwt/widgets/DateTime.d(595): Error: undefined identifier lastIndexOf OS is dmd1.0.27 tango 0,95.1 yes dwt noCompiler complain on line 595 int s = value.lastIndexOf(' '); whats the problemWhat's the compiler message, the OS being used, this is of the dwt library and not from the samples correct? And sorry I have to ask but, is this Ty Tower by any chance?
Mar 06 2008
On Thu, 06 Mar 2008 23:58:50 -0500, Rusty wrote:Jesse Phillips Wrote:It looks like that section of code was not fully ported yet. This will need to be fixed, but it does beg the question of how you are compiling? I as because we aren't having this problem, and will it's not a linker error it might relate to the same error. I would try an fix it, but since I can't reproduce it I won't know when it is fixed.On Thu, 06 Mar 2008 21:04:40 -0500, Rusty wrote:Not clear on your meaning but message is dwt/widgets/DateTime.d(595): Error: undefined identifier lastIndexOf OS is dmd1.0.27 tango 0,95.1 yes dwt noCompiler complain on line 595 int s = value.lastIndexOf(' '); whats the problemWhat's the compiler message, the OS being used, this is of the dwt library and not from the samples correct? And sorry I have to ask but, is this Ty Tower by any chance?
Mar 06 2008
need to be fixed, but it does beg the question of how you are compiling? I as because we aren't having this problem, and will it's not a linker error it might relate to the same error. I would try an fix it, but since I can't reproduce it I won't know when it is fixed.I do not follow it i is not compiling do you mean compiler statement? I am using dsss build 2006-2007 by Gregor Richards as advised by digitalmars site
Mar 07 2008
Rusty schrieb:Compiler complain on line 595 int s = value.lastIndexOf(' '); whats the problemYesterday i did some edits in dwt.dwthelper.utils to sync it with dwt-linux. Perhaps that fixed the problem. Actually i don't get a compile error on windows. Can you retry please?
Mar 07 2008
Frank Benoit Wrote:Rusty schrieb:try with 1.027 dmd to compile dwt-linux-e0ffca35fe59,dwt-linux-cf2672c3e4fb,dwt-linux-08789b28bdf3 in all case now get ets/TypedListener.d dwt/widgets/Widget.d -oflibDD-dwt.a dwt/DWTError.d(145): Error: undefined identifier info dwt/DWTError.d(145): Error: cannot infer type for msg dwt/DWTError.d(150): Error: no property 'info' for type 'object.Exception' dwt/DWTError.d(150): Error: cannot infer type for msg dwt/DWTException.d(135): Error: undefined identifier info dwt/DWTException.d(135): Error: cannot infer type for msg dwt/DWTException.d(140): Error: no property 'info' for type 'object.Exception' dwt/DWTException.d(140): Error: cannot infer type for msg then lots more not getting past yet still working get pssed soonCompiler complain on line 595 int s = value.lastIndexOf(' '); whats the problemYesterday i did some edits in dwt.dwthelper.utils to sync it with dwt-linux. Perhaps that fixed the problem. Actually i don't get a compile error on windows. Can you retry please?
Mar 08 2008
Rusty schrieb:Frank Benoit Wrote:this is a clear indication that you are using a tango version, which is too old. Either use tango 0.99.5 or tango from svn trunk rev 3145 and older. The 0.99.5 release is prefered.Rusty schrieb:try with 1.027 dmd to compile dwt-linux-e0ffca35fe59,dwt-linux-cf2672c3e4fb,dwt-linux-08789b28bdf3 in all case now get ets/TypedListener.d dwt/widgets/Widget.d -oflibDD-dwt.a dwt/DWTError.d(145): Error: undefined identifier info dwt/DWTError.d(145): Error: cannot infer type for msg dwt/DWTError.d(150): Error: no property 'info' for type 'object.Exception' dwt/DWTError.d(150): Error: cannot infer type for msg dwt/DWTException.d(135): Error: undefined identifier info dwt/DWTException.d(135): Error: cannot infer type for msg dwt/DWTException.d(140): Error: no property 'info' for type 'object.Exception' dwt/DWTException.d(140): Error: cannot infer type for msg then lots more not getting past yet still working get pssed soonCompiler complain on line 595 int s = value.lastIndexOf(' '); whats the problemYesterday i did some edits in dwt.dwthelper.utils to sync it with dwt-linux. Perhaps that fixed the problem. Actually i don't get a compile error on windows. Can you retry please?
Mar 08 2008
Frank Benoit Wrote:Rusty schrieb:yes thanks I got newer and compiles library now-3 days wow!Frank Benoit Wrote:this is a clear indication that you are using a tango version, which is too old. Either use tango 0.99.5 or tango from svn trunk rev 3145 and older. The 0.99.5 release is prefered.Rusty schrieb:try with 1.027 dmd to compile dwt-linux-e0ffca35fe59,dwt-linux-cf2672c3e4fb,dwt-linux-08789b28bdf3 in all case now get ets/TypedListener.d dwt/widgets/Widget.d -oflibDD-dwt.a dwt/DWTError.d(145): Error: undefined identifier info dwt/DWTError.d(145): Error: cannot infer type for msg dwt/DWTError.d(150): Error: no property 'info' for type 'object.Exception' dwt/DWTError.d(150): Error: cannot infer type for msg dwt/DWTException.d(135): Error: undefined identifier info dwt/DWTException.d(135): Error: cannot infer type for msg dwt/DWTException.d(140): Error: no property 'info' for type 'object.Exception' dwt/DWTException.d(140): Error: cannot infer type for msg then lots more not getting past yet still working get pssed soonCompiler complain on line 595 int s = value.lastIndexOf(' '); whats the problemYesterday i did some edits in dwt.dwthelper.utils to sync it with dwt-linux. Perhaps that fixed the problem. Actually i don't get a compile error on windows. Can you retry please?
Mar 09 2008