Weird dmd error?

Ali Çehreli via Digitalmars-d digitalmars-d at puremagic.com
Mon Nov 7 04:56:06 PST 2016


On 11/07/2016 03:57 AM, Andrea Fontana wrote:
> On Monday, 7 November 2016 at 10:57:49 UTC, Anonymous wrote:
>> Exactly the same thing happens. There's already 3 semantic passes. To
>> solve this kind of forward references another semantic pass would be
>> required. But in this case you couldn't determine how many passes
>> would be necessary so there would be a  complexity problem in the
>> compiler.
>
> But it's not really the same, error in my case is inside druntime.
> In your example errors are inside my code.

You're right. It's a bug that module core.sys.posix.sys.types uses 
c_long without importing its definition presumably from module 
core.stdc.config.

Ali



More information about the Digitalmars-d mailing list