compiler message cannot convert GType to GType
Unknown W. Brackets
unknown at simplemachines.org
Sun Mar 12 21:03:10 PST 2006
When I first learned programming, the languages I used didn't even have
proper structs, let alone classes. I've never had much trouble avoiding
multiple declarations - in my opinion, for smaller projects it's easier
to centralize any shared declarations which are outside classes.
In other words, having an "enums.d" or "types.d" or something like that.
If you're not going to tie it to a class or at least module, that is.
Normally, in C, this is done with one central .h file.
I don't personally think DMD is that immature as a compiler. It may not
have the best error messages, but if you've ever tried to debug
JavaScript in Internet Explorer, you'd know the meaning of useless error
messages. DMD could never even compare.
And I'm told Ruby has blindingly horrid error messages, although this
may have improved.
-[Unknown]
> I already fixed it, thank you!
>
> (the same enum was defined in different files.)
>
> One of the problems is that I'm breaking my own rule of never, ever
> define anything outside a class.
> D is unusable if you don't encapsulate every thing in classes.
> (of course every thing I say is my opinion).
>
> BTW I've being frequenting the IRC D channel lately and found
> that others have faced some of the problems I am complaining for 2 years
> but they just keep silent.
>
> I found D excellent but DMD still very immature...
> barely usable - but that's why it's still beta, of course.
>
> Ant
More information about the Digitalmars-d-bugs
mailing list