August 10, 2004
Ant wrote:
> On Mon, 09 Aug 2004 19:52:24 -0500, J C Calvarese wrote:
> 
> 
>>If you've run into an issue like this in DUI, now would be a good time to mention it. This kind of problem is bound to be more common and troublesome in larger projects.
> 
> I reported this the best I could about 6 times on the last year.

Sorry, I missed that. I guess it shows again that this forum isn't the ideal way to report bugs.

<subliminal message to Walter>bugzilla</subliminal>

> Walter said it's a low priority, I guess he is right.

Another message that I somehow missed.

> only fools will start large projects with a beta version
> of something (note that my projects aren't complex, just large).
> As I see it dmd is not ready for large projects. The problem
> is that you might miss something that the compiler will ignore
> and sudenlly the error surfaces and it's impossible to find.
> this is one of the reasons I started the lib dool:
> dmd deals with objects in a more restricted way. The look up
> rules was another and my preference for OO was the 3rd reason.
> 
> Ant


-- 
Justin (a/k/a jcc7)
http://jcc_7.tripod.com/d/
July 11, 2006
J C Calvarese wrote:
> The following code gives this error message, but I think it should work:
> v.d(3): import std conflicts with d.std at d.d(3)
> 
> 
> 
> [c.d]
> module c;
> 
> import v;
> import d;
> 
> V start;
> std.stream.File file;
> 
> 
> 
> [d.d]
> module d;
> 
> import std.c.windows.windows;
> 
> 
> 
> [v.d]
> module v;
> 
> import std.stream;
> struct V{}
> 
> 
> 
> [build.bat]
> dmd c.d -c
> pause
> 
> 
> 
> And, yes, it compiles fine if I change the last line of c.d to:
> "File file;"
> 
> Workarounds are great, but I think it should either compile as written or give a more detailed explanation in the error message.
> 
> By the way, this is from an issue discovered by clayasaurus in http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/8423
> 
> I'm sure I posted an eerily similar bug report before, but I can't find it, so maybe I dreamed the whole thing.
> 

I still get bitten by this regularly and come back here to see the workarounds, hence this post.

~ Clay
July 11, 2006
In article <e90oa4$2oak$1@digitaldaemon.com>, clayasaurus says...
>
>J C Calvarese wrote:
>> The following code gives this error message, but I think it should work:
>> v.d(3): import std conflicts with d.std at d.d(3)
>> 
>> 
>> 
>> [c.d]
>> module c;
>> 
>> import v;
>> import d;
>> 
>> V start;
>> std.stream.File file;
>> 
>> 
>> 
>> [d.d]
>> module d;
>> 
>> import std.c.windows.windows;
>> 
>> 
>> 
>> [v.d]
>> module v;
>> 
>> import std.stream;
>> struct V{}
>> 
>> 
>> 
>> [build.bat]
>> dmd c.d -c
>> pause
>> 
>> 
>> 
>> And, yes, it compiles fine if I change the last line of c.d to: "File file;"
>> 
>> Workarounds are great, but I think it should either compile as written or give a more detailed explanation in the error message.
>> 
>> By the way, this is from an issue discovered by clayasaurus in http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/8423
>> 
>> I'm sure I posted an eerily similar bug report before, but I can't find it, so maybe I dreamed the whole thing.
>> 
>
>I still get bitten by this regularly and come back here to see the workarounds, hence this post.
>
>~ Clay


You mean it's easier to bump the thread than bookmark the key post than you want (e.g. http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/1307)?

:)

jcc7
July 11, 2006
jcc7 wrote:
> In article <e90oa4$2oak$1@digitaldaemon.com>, clayasaurus says...
>> J C Calvarese wrote:
>>> The following code gives this error message, but I think it should work:
>>> v.d(3): import std conflicts with d.std at d.d(3)
>>>
>>>
>>>
>>> [c.d]
>>> module c;
>>>
>>> import v;
>>> import d;
>>>
>>> V start;
>>> std.stream.File file;
>>>
>>>
>>>
>>> [d.d]
>>> module d;
>>>
>>> import std.c.windows.windows;
>>>
>>>
>>>
>>> [v.d]
>>> module v;
>>>
>>> import std.stream;
>>> struct V{}
>>>
>>>
>>>
>>> [build.bat]
>>> dmd c.d -c
>>> pause
>>>
>>>
>>>
>>> And, yes, it compiles fine if I change the last line of c.d to:
>>> "File file;"
>>>
>>> Workarounds are great, but I think it should either compile as written or give a more detailed explanation in the error message.
>>>
>>> By the way, this is from an issue discovered by clayasaurus in http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/8423
>>>
>>> I'm sure I posted an eerily similar bug report before, but I can't find it, so maybe I dreamed the whole thing.
>>>
>> I still get bitten by this regularly and come back here to see the workarounds, hence this post.
>>
>> ~ Clay
> 
> 
> You mean it's easier to bump the thread than bookmark the key post than you want
> (e.g. http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D.bugs/1307)?
> 
> :)
> 
> jcc7

No :-P Just being an attention freak.
July 12, 2006
clayasaurus wrote:
> J C Calvarese wrote:
>> The following code gives this error message, but I think it should work:
>> v.d(3): import std conflicts with d.std at d.d(3)
>>
>>
>>
>> [c.d]
>> module c;
>>
>> import v;
>> import d;
>>
>> V start;
>> std.stream.File file;
>>
>>
>>
>> [d.d]
>> module d;
>>
>> import std.c.windows.windows;
>>
>>
>>
>> [v.d]
>> module v;
>>
>> import std.stream;
>> struct V{}
>>
>>
>>
>> [build.bat]
>> dmd c.d -c
>> pause
>>
>>
>>
>> And, yes, it compiles fine if I change the last line of c.d to:
>> "File file;"
>>
>> Workarounds are great, but I think it should either compile as written or give a more detailed explanation in the error message.
>>
>> By the way, this is from an issue discovered by clayasaurus in http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/8423
>>
>> I'm sure I posted an eerily similar bug report before, but I can't find it, so maybe I dreamed the whole thing.
>>
> 
> I still get bitten by this regularly and come back here to see the workarounds, hence this post.
> 
> ~ Clay

The bugzilla entry for that:
http://d.puremagic.com/bugzilla/show_bug.cgi?id=209
I've updated it, since it seems it was partially fixed.

-- 
Bruno Medeiros - CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
1 2
Next ›   Last »