www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Runtime error in code on main page

reply "Adrian" <nmanole gmail.com> writes:
The "Get your local weather report" sample code on the main page 
generates the following error:

/d683/f748.d(32): Error: undefined identifier centerJustifier

Someone might want to address that.
Aug 24 2015
next sibling parent reply "H. S. Teoh via Digitalmars-d" <digitalmars-d puremagic.com> writes:
On Tue, Aug 25, 2015 at 01:27:36AM +0000, Adrian via Digitalmars-d wrote:
 The "Get your local weather report" sample code on the main page
 generates the following error:
 
 /d683/f748.d(32): Error: undefined identifier centerJustifier
 
 Someone might want to address that.
It works on the latest git HEAD. Which version of the compiler are you using? That example probably should be reworked to work with earlier compilers. :-) T -- I don't trust computers, I've spent too long programming to think that they can get anything right. -- James Miller
Aug 24 2015
parent reply "rsw0x" <anonymous anonymous.com> writes:
On Tuesday, 25 August 2015 at 02:24:32 UTC, H. S. Teoh wrote:
 On Tue, Aug 25, 2015 at 01:27:36AM +0000, Adrian via 
 Digitalmars-d wrote:
 The "Get your local weather report" sample code on the main 
 page generates the following error:
 
 /d683/f748.d(32): Error: undefined identifier centerJustifier
 
 Someone might want to address that.
It works on the latest git HEAD. Which version of the compiler are you using? That example probably should be reworked to work with earlier compilers. :-) T
He means the example that you can run in-browser. He's right, it fails.
Aug 24 2015
next sibling parent "H. S. Teoh via Digitalmars-d" <digitalmars-d puremagic.com> writes:
On Tue, Aug 25, 2015 at 02:34:11AM +0000, rsw0x via Digitalmars-d wrote:
 On Tuesday, 25 August 2015 at 02:24:32 UTC, H. S. Teoh wrote:
On Tue, Aug 25, 2015 at 01:27:36AM +0000, Adrian via Digitalmars-d wrote:
The "Get your local weather report" sample code on the main page
generates the following error:

/d683/f748.d(32): Error: undefined identifier centerJustifier

Someone might want to address that.
It works on the latest git HEAD. Which version of the compiler are you using? That example probably should be reworked to work with earlier compilers. :-) T
He means the example that you can run in-browser. He's right, it fails.
It works on git HEAD. But apparently not on older compilers. T -- Never wrestle a pig. You both get covered in mud, and the pig likes it.
Aug 24 2015
prev sibling parent "H. S. Teoh via Digitalmars-d" <digitalmars-d puremagic.com> writes:
On Mon, Aug 24, 2015 at 08:01:12PM -0700, H. S. Teoh via Digitalmars-d wrote:
 On Tue, Aug 25, 2015 at 02:34:11AM +0000, rsw0x via Digitalmars-d wrote:
 On Tuesday, 25 August 2015 at 02:24:32 UTC, H. S. Teoh wrote:
On Tue, Aug 25, 2015 at 01:27:36AM +0000, Adrian via Digitalmars-d wrote:
The "Get your local weather report" sample code on the main page
generates the following error:

/d683/f748.d(32): Error: undefined identifier centerJustifier

Someone might want to address that.
It works on the latest git HEAD. Which version of the compiler are you using? That example probably should be reworked to work with earlier compilers. :-) T
He means the example that you can run in-browser. He's right, it fails.
It works on git HEAD. But apparently not on older compilers.
[...] Apparently it works on dmd-2.068.0 as well, but not on dmd-2.066.1. Not sure exactly where it started working, but it should be revised to work on older compilers. T -- Long, long ago, the ancient Chinese invented a device that lets them see through walls. It was called the "window".
Aug 24 2015
prev sibling next sibling parent reply "immu" <immutablestate hotmail.de> writes:
On Tuesday, 25 August 2015 at 01:27:37 UTC, Adrian wrote:
 The "Get your local weather report" sample code on the main 
 page generates the following error:

 /d683/f748.d(32): Error: undefined identifier centerJustifier

 Someone might want to address that.
I also get an error when I hit "Run" for the "D is like ..." program. Error message: Unable to fork: Cannot allocate memory
Aug 24 2015
parent Martin Nowak <code+news.digitalmars dawg.eu> writes:
On 08/25/2015 08:30 AM, immu wrote:
 
 I also get an error when I hit "Run" for the "D is like ..." program.
 
 Error message: Unable to fork: Cannot allocate memory
Not sure, but might be a restriction of dpaste. Just a guess, maybe b/c curl creates threads internally.
Aug 25 2015
prev sibling parent reply "BBasile" <bb.temp gmx.com> writes:
On Tuesday, 25 August 2015 at 01:27:37 UTC, Adrian wrote:
 The "Get your local weather report" sample code on the main 
 page generates the following error:

 /d683/f748.d(32): Error: undefined identifier centerJustifier

 Someone might want to address that.
please, stop spamming about that. http://forum.dlang.org/thread/qslurvxijgmfuqptcxym forum.dlang.org and file an issue on the bug tracker. God damnit.
Aug 25 2015
next sibling parent reply "Adrian" <nmanole gmail.com> writes:
On Tuesday, 25 August 2015 at 08:40:48 UTC, BBasile wrote:

 please, stop spamming about that.

 http://forum.dlang.org/thread/qslurvxijgmfuqptcxym forum.dlang.org

 and file an issue on the bug tracker. God damnit.
Jesus Christ, I'm just a passerby who noticed something in passing; sorry I didn't have the incentive to file a bug report.
Aug 25 2015
parent Martin Nowak <code+news.digitalmars dawg.eu> writes:
On 08/25/2015 12:06 PM, Adrian wrote:
 Jesus Christ, I'm just a passerby who noticed something in passing;
 sorry I didn't have the incentive to file a bug report.
Thanks for letting us know.
Aug 25 2015
prev sibling parent anonymous <anonymous example.com> writes:
On Tuesday 25 August 2015 10:40, BBasile wrote:

 please, stop spamming about that.
[...]
 and file an issue on the bug tracker. God damnit.
Easy there. We don't want to discourage people from reporting bugs.
Aug 25 2015