On 01/10/2016 11:51 AM, Joel wrote:
I get this when I click Learn at the top of the screen in dlang. This is
on Chrome Mac (Sierra 10.12).
Yup, you need to be on https. Chrome just started warning when using
http in the last build.
On Thursday, 29 September 2016 at 09:56:34 UTC, Kagamin wrote:
Does it crash only in rt_finalize2? It calls the class
destructor, and the destructor must not allocate or touch GC in
any way because the GC doesn't yet support allocation during
collection.
Thank you all for the good advice! I d
I get this when I click Learn at the top of the screen in dlang.
This is on Chrome Mac (Sierra 10.12).
On Friday, 30 September 2016 at 19:31:55 UTC, Jonathan M Davis
wrote:
On Friday, September 30, 2016 19:04:11 Ave via
Digitalmars-d-learn wrote:
[...]
The first example is segfaulting, because you never gave the
variable, test, a value. It's null when you try and access its
arrB member.
- J
On Friday, September 30, 2016 19:04:11 Ave via Digitalmars-d-learn wrote:
> An example of what I'm trying to do:
>
> import std.stdio;
> import std.container;
> import std.algorithm;
> class Aa
> {
> Array!B arrB;
> }
>
> class Bb
> {
> string name;
>
> }
> void main()
> {
> Aa test;
An example of what I'm trying to do:
import std.stdio;
import std.container;
import std.algorithm;
class Aa
{
Array!B arrB;
}
class Bb
{
string name;
}
void main()
{
Aa test;
auto c=new Bb;
c.name="asdf";
test.arrB.insert(c);
auto d=new Bb;
d.name="1234";
tes
On Friday, 30 September 2016 at 07:36:58 UTC, Jacob Carlborg
wrote:
Yeah, that would be nice. Would it be interesting to have "dmd"
point to "ldmd2" when LDC is selected as the current compiler?
Or is that just confusing.
Confusing. For me it's much more common to want a current DMD
compile
On Friday, 30 September 2016 at 10:31:52 UTC, MGW wrote:
My STARTING application shall read the enviroment variable.
For example MY_VARIABLE= "I'm Gena".
The MY_VARIABLE variable needs to be set in dub.json so
what she would be visible in case of start of my application.
Purpose: to set LD_LIBRAR
On Friday, 30 September 2016 at 11:09:37 UTC, rikki cattermole
wrote:
There is no way to do this.
it is necessary to add section to dub:
"enviroment": [
{ "LD_LIBRARY_PATH", "$PACKAGE_DIR" },
{ "MY_VARIABLE", "$PACKAGE_DIR/IMAGES"}
]
On 30/09/2016 11:31 PM, MGW wrote:
My STARTING application shall read the enviroment variable.
For example MY_VARIABLE= "I'm Gena".
The MY_VARIABLE variable needs to be set in dub.json so
what she would be visible in case of start of my application.
Purpose: to set LD_LIBRARY_PATH having specifie
My STARTING application shall read the enviroment variable.
For example MY_VARIABLE= "I'm Gena".
The MY_VARIABLE variable needs to be set in dub.json so
what she would be visible in case of start of my application.
Purpose: to set LD_LIBRARY_PATH having specified a certain
directory in dub packet
On 2016-09-29 14:59, Guillaume Piolat wrote:
More or less related: it would be nice if DVM supports LDC fetching and
switching.
The use case I see is that you often want one DMD and one LDC.
Yeah, that would be nice. Would it be interesting to have "dmd" point to
"ldmd2" when LDC is selected
On 2016-09-29 18:28, Paolo Invernizzi wrote:
Ummm...
All the installed stuff is pretty well organised inside `/usr/local`, so
this works...
---
hw0062:~ pinver$ /usr/local/Cellar/dmd/2.071.2/bin/dmd --version
DMD64 D Compiler v2.071.2
Copyright (c) 1999-2015 by Digital Mars written by Walter Br
13 matches
Mail list logo