Jump to page: 1 2
Thread overview
Runtime error in code on main page
Aug 25, 2015
Adrian
Aug 25, 2015
H. S. Teoh
Aug 25, 2015
rsw0x
Aug 25, 2015
H. S. Teoh
Aug 25, 2015
H. S. Teoh
Aug 25, 2015
immu
Aug 25, 2015
Martin Nowak
Aug 25, 2015
BBasile
Aug 25, 2015
Adrian
Aug 25, 2015
Martin Nowak
Aug 25, 2015
anonymous
August 25, 2015
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.
August 25, 2015
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
August 25, 2015
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.
August 25, 2015
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.
August 25, 2015
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".
August 25, 2015
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
August 25, 2015
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.
August 25, 2015
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.
August 25, 2015
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.
August 25, 2015
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.
« First   ‹ Prev
1 2