Is this RDMD bug ?

Vladimir Panteleev via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Aug 23 10:32:13 PDT 2014


On Saturday, 23 August 2014 at 16:28:46 UTC, novice2 wrote:
> I have 2 reduced files, wich i can't compile with new (DMD 
> 2.066) rdmd.exe under Windows 7 32-bit.
>
> Command: rdmd --force --build-only aaa.d
> Message "Error 42: Symbol Undefined _D3etc3bbb3fooFZi"
>
> But command: dmd aaa.d etc\bbb.d
> Compile without errors.
> And then i replace rdmd.exe by old (from DMD 2.065) compile OK 
> too.

No, it is not an rdmd bug.

"etc" is a standard D package name reserved for Phobos, the 
standard library. It is the same for "std" and "core".

I was the one who introduced the change[1] which unfortunately 
broke your code. However, the change fixed using rdmd to compile 
programs which imported std.net.curl or etc.c.curl.

   [1]: https://github.com/D-Programming-Language/tools/pull/108


More information about the Digitalmars-d-learn mailing list