On 15.11.2009 08:53, g wrote:
I have been trying to actualize the http://www.dsource.org/projects/dallegro
binings to the lastest D2 version.
The main problems are:
*TLS
*volatile isn't here anymore ( neither with -d )
You can remove volatile by just building with -version=NoVolatile. But
I
funog wrote:
downs wrote:
funog wrote:
The following code :
--
import std.stdio;
class A {
void foo(A a) {
writefln("A");
}
}
class B : A {
void foo(B b) {
writefln("B");
}
}
void main() {
B b = new B;
A a = b;
assert(a is b);
b
downs wrote:
funog wrote:
The following code :
--
import std.stdio;
class A {
void foo(A a) {
writefln("A");
}
}
class B : A {
void foo(B b) {
writefln("B");
}
}
void main() {
B b = new B;
A a = b;
assert(a is b);
b.foo(b);
a
Are there any bindings out there?
funog wrote:
> The following code :
>
> --
> import std.stdio;
> class A {
> void foo(A a) {
> writefln("A");
> }
> }
>
> class B : A {
> void foo(B b) {
> writefln("B");
> }
> }
>
> void main() {
> B b = new B;
> A a = b;
> assert(a is
The following code :
--
import std.stdio;
class A {
void foo(A a) {
writefln("A");
}
}
class B : A {
void foo(B b) {
writefln("B");
}
}
void main() {
B b = new B;
A a = b;
assert(a is b);
b.foo(b);
a.foo(b);
}
--
ou
div0 Wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> g wrote:
> > g Wrote:
> >
> >> I have been trying to actualize the
> >> http://www.dsource.org/projects/dallegro binings to the lastest
> > typo: it is bindings, not binings
>
> Downgrade your compiler version.
>
> Every vers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
g wrote:
> g Wrote:
>
>> I have been trying to actualize the http://www.dsource.org/projects/dallegro
>> binings to the lastest
> typo: it is bindings, not binings
Downgrade your compiler version.
Every version after 2.028 has bugs which prevent