Re: Is this rdmd bug or my fault ?

2016-01-16 Thread zabruk70 via Digitalmars-d-learn
Can anybody explain: Is dependencies file produced from command: dmd -deps=moduleA.deps moduleA.d must contains mention of moduleC? Is dependencies file produced reccursively? Thanks.

Re: Is this rdmd bug or my fault ?

2016-01-09 Thread zabruk70 via Digitalmars-d-learn
On Friday, 8 January 2016 at 22:36:49 UTC, Tobi G. wrote: On Saturday, 9 January 2016 at 01:43:57 UTC, Ivan Kazmenko wrote: I get also a compilation error (with rdmd and -g). Thanks Tobi and Ivan. https://issues.dlang.org/show_bug.cgi?id=15533

Re: Is this rdmd bug or my fault ?

2016-01-08 Thread Ivan Kazmenko via Digitalmars-d-learn
On Friday, 8 January 2016 at 15:45:52 UTC, zabruk70 wrote: Should i create bugreport, or this is my mistake? Same here: rdmd moduleA.d works. rdmd -g moduleA.d produces a linker error. What's more: rdmd -m64 -g moduleA.d fails, and rdmd -m64 moduleA.d also fails. I have dmd 2.069.2 here.

Re: Is this rdmd bug or my fault ?

2016-01-08 Thread Tobi G. via Digitalmars-d-learn
On Friday, 8 January 2016 at 15:45:52 UTC, zabruk70 wrote: Should i create bugreport, or this is my mistake? I get also a compilation error (with rdmd and -g). Fortunately building manually with dmd works. So there has to be a bug in rdmd.. togrue

Is this rdmd bug or my fault ?

2016-01-08 Thread zabruk70 via Digitalmars-d-learn
OS: Windows 7 (32 bit) dmd: 2.069.2 and 2.070.0-b1 Then i used "-g" switch with RDMD, then i have OPTLINK error. Reduced code, 3 modules, 2 of them in subdir: moduleA.d test\moduleB.d test\moduleC.d / module moduleA; public void funcA () { import test.moduleB: funcB; return; }

Is this RDMD bug ?

2014-08-23 Thread novice2 via Digitalmars-d-learn
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

Re: Is this RDMD bug ?

2014-08-23 Thread sigod via Digitalmars-d-learn
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

Re: Is this RDMD bug ?

2014-08-23 Thread Gary Willoughby via Digitalmars-d-learn
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

Re: Is this RDMD bug ?

2014-08-23 Thread sigod via Digitalmars-d-learn
PR that introduced regression: https://github.com/D-Programming-Language/tools/pull/108

Re: Is this RDMD bug ?

2014-08-23 Thread Vladimir Panteleev via Digitalmars-d-learn
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

Re: Is this RDMD bug ?

2014-08-23 Thread Gary Willoughby via Digitalmars-d-learn
On Saturday, 23 August 2014 at 17:29:15 UTC, sigod wrote: PR that introduced regression: https://github.com/D-Programming-Language/tools/pull/108 Filed: https://issues.dlang.org/show_bug.cgi?id=13366

Re: Is this RDMD bug ?

2014-08-23 Thread sigod via Digitalmars-d-learn
On Saturday, 23 August 2014 at 17:32:15 UTC, Vladimir Panteleev wrote: 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. Please, point us directly to a documentation where it says that this words reserved.

Re: Is this RDMD bug ?

2014-08-23 Thread Dicebot via Digitalmars-d-learn
On Saturday, 23 August 2014 at 17:37:39 UTC, sigod wrote: On Saturday, 23 August 2014 at 17:32:15 UTC, Vladimir Panteleev wrote: 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. Please, point us directly

Re: Is this RDMD bug ?

2014-08-23 Thread Vladimir Panteleev via Digitalmars-d-learn
On Saturday, 23 August 2014 at 17:37:39 UTC, sigod wrote: On Saturday, 23 August 2014 at 17:32:15 UTC, Vladimir Panteleev wrote: 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. Please, point us directly

Re: Is this RDMD bug ?

2014-08-23 Thread novice2 via Digitalmars-d-learn
On Saturday, 23 August 2014 at 17:32:15 UTC, Vladimir Panteleev wrote: etc is a standard D package name reserved for Phobos, the Thanks for explanation. I not be able to undertsand the cause - weird error message. Now i can easy fix my code. BTW, did rdmd determine user code or standard

Re: Is this RDMD bug ?

2014-08-23 Thread sigod via Digitalmars-d-learn
On Saturday, 23 August 2014 at 17:41:38 UTC, Dicebot wrote: On Saturday, 23 August 2014 at 17:37:39 UTC, sigod wrote: On Saturday, 23 August 2014 at 17:32:15 UTC, Vladimir Panteleev wrote: No, it is not an rdmd bug. etc is a standard D package name reserved for Phobos, the standard library

Re: Is this RDMD bug ?

2014-08-23 Thread Vladimir Panteleev via Digitalmars-d-learn
On Saturday, 23 August 2014 at 18:23:25 UTC, sigod wrote: Actually, I never got to use this names for first package name. (I only used `something.etc` and `something.core`.) So, I didn't thought about this. `something.etc` and `something.core` should work fine. Only the three top-level

Re: Is this RDMD bug ?

2014-08-23 Thread Vladimir Panteleev via Digitalmars-d-learn
On Saturday, 23 August 2014 at 18:23:25 UTC, sigod wrote: Isn't it better to document such things? Yes. Please create a pull request.

Re: Is this RDMD bug ?

2014-08-23 Thread Vladimir Panteleev via Digitalmars-d-learn
On Saturday, 23 August 2014 at 18:12:44 UTC, novice2 wrote: On Saturday, 23 August 2014 at 17:32:15 UTC, Vladimir Panteleev wrote: etc is a standard D package name reserved for Phobos, the Thanks for explanation. I not be able to undertsand the cause - weird error message. Now i can easy fix

Re: Is this RDMD bug ?

2014-08-23 Thread via Digitalmars-d-learn
On Saturday, 23 August 2014 at 17:41:38 UTC, Dicebot wrote: On Saturday, 23 August 2014 at 17:37:39 UTC, sigod wrote: On Saturday, 23 August 2014 at 17:32:15 UTC, Vladimir Panteleev wrote: No, it is not an rdmd bug. etc is a standard D package name reserved for Phobos, the standard library

Re: Is this RDMD bug ?

2014-08-23 Thread Vladimir Panteleev via Digitalmars-d-learn
On Saturday, 23 August 2014 at 18:41:58 UTC, Marc Schütz wrote: On Saturday, 23 August 2014 at 17:41:38 UTC, Dicebot wrote: On Saturday, 23 August 2014 at 17:37:39 UTC, sigod wrote: On Saturday, 23 August 2014 at 17:32:15 UTC, Vladimir Panteleev wrote: No, it is not an rdmd bug. etc

Re: Is this RDMD bug ?

2014-08-23 Thread sigod via Digitalmars-d-learn
On Saturday, 23 August 2014 at 18:28:32 UTC, Vladimir Panteleev wrote: On Saturday, 23 August 2014 at 18:23:25 UTC, sigod wrote: Isn't it better to document such things? Yes. Please create a pull request. Easy to say. In my TODO list lies record to create PR for [this issue][0]. Today is

Re: Is this RDMD bug ?

2014-08-23 Thread via Digitalmars-d-learn
UTC, Vladimir Panteleev wrote: 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. Please, point us directly to a documentation where it says that this words reserved. http://dlang.org/phobos/ ? (you don't

Re: Is this RDMD bug ?

2014-08-23 Thread Vladimir Panteleev via Digitalmars-d-learn
On Saturday, 23 August 2014 at 18:55:08 UTC, Marc Schütz wrote: But imported modules are the important case. If I have an important bugfix in a module, and don't want to wait for the next release, what am I supposed to do? Rebuild Phobos. If rdmd were to compile your module, linking would