Re: Help needed to actualizing allegro bindings (or this bindings are complex and I am dumb)

2009-11-15 Thread div0
-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 non

Re: Help needed to actualizing allegro bindings (or this bindings

2009-11-15 Thread g
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 version after 2.028 has

something weird about polymorphism

2009-11-15 Thread funog
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); } --

Re: something weird about polymorphism

2009-11-15 Thread downs
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);

OpenGL 3 for D?

2009-11-15 Thread Trass3r
Are there any bindings out there?

Re: something weird about polymorphism

2009-11-15 Thread funog
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);

Re: something weird about polymorphism

2009-11-15 Thread Chris Nicholson-Sauls
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);

Re: Help needed to actualizing allegro bindings (or this bindings are complex and I am dumb)

2009-11-15 Thread torhu
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