[Issue 217] typeof not working properly in internal/object.d
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Sep 16 22:55:04 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=217
------- Comment #1 from braddr at puremagic.com 2007-09-17 00:55 -------
It looks like it's a forward declaration issue with respect to alias and
extern(C) functions. As long as the alias is before the extern(C) functions
that use the aliases, it's fine. For example, calloc uses size_t. In the next
attachment is a diff against dmd 1.021's internal/object.d that builds
successfully.
This isn't to say that there isn't a bug here, since order isn't supposed to
matter, right?
--
More information about the Digitalmars-d-bugs
mailing list