View previous topic :: View next topic |
Author |
Message |
skirino
Joined: 17 Jun 2010 Posts: 4
|
Posted: Wed Feb 01, 2012 6:55 am Post subject: Cannot build with D1 |
|
|
Using dmd1 compilation of GtkD-1.5.1 failed as follows:
Code: |
glib => DD-glib
glib/DateTime.d(212): function glib.DateTime.DateTime.opEquals of type bool(Object rhs) overrides but is not covariant with object.Object.opEquals of type int(Object o)
glib/DateTime.d(212): function glib.DateTime.DateTime.opEquals does not override any function
Command /home/skirino/code/D/dsss/bin/rebuild returned with code 256, aborting.
Error: Command failed, aborting.
|
It's simply due to difference in type signature of 'opEquals' between D1 and D2.
If I modify 'bool' to 'int', compilation succeeds without any problem.
Can someone please fix this? |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Wed Feb 01, 2012 3:12 pm Post subject: |
|
|
Fixed in svn r927. |
|
Back to top |
|
|
skirino
Joined: 17 Jun 2010 Posts: 4
|
Posted: Sun Feb 05, 2012 9:42 am Post subject: |
|
|
Thanks Mike! |
|
Back to top |
|
|
|