On Tue, May 11, 2010 at 11:06 AM, Walter Bright <[email protected]>wrote:
> I found a couple problems, don't know if they're causing the problem you're
> seeing. Just uploaded a new beta to solve them.
>
>
The latest beta doesn't segfault but there is another problem:
/media/RESOURCES/d-projects/qtd-trunk/qtd/output/build/qt/gui/QPaintDevice.d(259):
Error: no property 'PaintDeviceMetric' for type
'qt.gui.QPaintDevice.QPaintDevice'
/media/RESOURCES/d-projects/qtd-trunk/qtd/output/build/qt/gui/QPaintDevice.d(259):
Error: QPaintDevice.PaintDeviceMetric is used as a type
It is caused by an enum defined in an abstract class and forward referenced
in an interface implemented by that abstract class:
abstract class QPaintDevice : QtdObject, IQPaintDevice
{
enum PaintDeviceMetric {
}
}
interface IQPaintDevice
{
public int metric(QPaintDevice.PaintDeviceMetric metric) const;
}
The design is not quite right and we will move the enum into the interface.
Yet, I think the code should compile without problems. We'll try to provide
a test-case later.
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta