Lol I didn't even check that.
Probably because it does compile (and gives a stack overflow at runtime)
when you put the allocation within the main.
So it still looks like a bug. The compiling should not hang.
From http://www.digitalmars.com/d/1.0/arrays.html :
The total size of a static
I saved and compiled the code given as getenv.d on the page
http://www.digitalmars.com/d/archives/digitalmars/D/learn/623.html but I'm not
entirely sure why it works.
The reasons that I don't understand it are:
1. GetEnvironmentStringsA() and the other functions aren't mentioned in
Mike L. Wrote:
I saved and compiled the code given as getenv.d on the page
http://www.digitalmars.com/d/archives/digitalmars/D/learn/623.html but I'm
not entirely sure why it works.
The reasons that I don't understand it are:
1. GetEnvironmentStringsA() and the other functions aren't
Denis Koroskin Wrote:
Mike L. Wrote:
I saved and compiled the code given as getenv.d on the page
http://www.digitalmars.com/d/archives/digitalmars/D/learn/623.html but I'm
not entirely sure why it works.
The reasons that I don't understand it are:
1. GetEnvironmentStringsA() and
With this code:
module test5;
interface I
{
void foo();
}
class A : I
{
void foo() { }
}
class B : A, I
{
alias A.foo foo;
}
void main()
{
}
I get this error:
class test5.B
On Sun, 25 Jan 2009 16:43:55 +1300, John Reimer terminal.n...@gmail.com
wrote:
With this code:
module test5;
interface I
{
void foo();
}
class A : I {
void foo() { }
}
class B : A, I
{
alias A.foo foo;
}
void main()
{
}
Hello tim,
On Sun, 25 Jan 2009 16:43:55 +1300, John Reimer
terminal.n...@gmail.com wrote:
With this code:
module test5;
interface I
{
void foo();
}
class A : I {
void foo() { }
}
class B : A, I
{
alias A.foo foo;
}
void main()
{
}
Hello John,
Hello tim,
On Sun, 25 Jan 2009 16:43:55 +1300, John Reimer
terminal.n...@gmail.com wrote:
With this code:
module test5;
interface I
{
void foo();
}
class A : I {
void foo() { }
}
class B : A, I
{
alias A.foo foo;
}
void main()
{
}
On Sun, 25 Jan 2009 17:56:03 +1300, John Reimer terminal.n...@gmail.com
wrote:
Hello tim,
On Sun, 25 Jan 2009 16:43:55 +1300, John Reimer
terminal.n...@gmail.com wrote:
With this code:
module test5;
interface I
{
void foo();
}
class A : I {
void foo()
Hello tim,
On Sun, 25 Jan 2009 17:56:03 +1300, John Reimer
terminal.n...@gmail.com wrote:
Hello tim,
On Sun, 25 Jan 2009 16:43:55 +1300, John Reimer
terminal.n...@gmail.com wrote:
With this code:
module test5;
interface I
{
void foo();
}
class A : I {
10 matches
Mail list logo