digitalmars.D.dwt - Checking DateTime.d wont compile
- Rusty <rustyn12 quick.com.nz> Mar 06 2008
- Jesse Phillips <jessekphillips gmail.com> Mar 06 2008
- Rusty <rustyn12 quick.com.nz> Mar 06 2008
- Rusty <rustyn12 quick.com.nz> Mar 07 2008
- Jesse Phillips <jessekphillips gmail.com> Mar 06 2008
- Frank Benoit <keinfarbton googlemail.com> Mar 07 2008
- Rusty <rustyn12 quick.com.nz> Mar 08 2008
- Frank Benoit <keinfarbton googlemail.com> Mar 08 2008
- Rusty <rustyn12 quick.com.nz> Mar 09 2008
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 problem
What'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:Compiler complain on line 595 int s = value.lastIndexOf(' '); whats the problem
What'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?
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 no
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 am using dsss build 2006-2007 by Gregor Richards as advised by digitalmars site
Mar 07 2008
On Thu, 06 Mar 2008 23:58:50 -0500, Rusty wrote:Jesse Phillips Wrote:On Thu, 06 Mar 2008 21:04:40 -0500, Rusty wrote:Compiler complain on line 595 int s = value.lastIndexOf(' '); whats the problem
What'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?
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 no
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.
Mar 06 2008
Rusty schrieb:Compiler complain on line 595 int s = value.lastIndexOf(' '); whats the problem
Yesterday 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:Compiler complain on line 595 int s = value.lastIndexOf(' '); whats the problem
Yesterday 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?
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 soon
Mar 08 2008
Rusty schrieb:Frank Benoit Wrote:Rusty schrieb:Compiler complain on line 595 int s = value.lastIndexOf(' '); whats the problem
dwt-linux. Perhaps that fixed the problem. Actually i don't get a compile error on windows. Can you retry please?
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 soon
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.
Mar 08 2008
Frank Benoit Wrote:Rusty schrieb:Frank Benoit Wrote:Rusty schrieb:Compiler complain on line 595 int s = value.lastIndexOf(' '); whats the problem
dwt-linux. Perhaps that fixed the problem. Actually i don't get a compile error on windows. Can you retry please?
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 soon
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.
yes thanks I got newer and compiles library now-3 days wow!
Mar 09 2008









Rusty <rustyn12 quick.com.nz> 