D seems interesting, but...

Gerry Weaver gerryw at compvia.com
Mon Oct 15 00:08:57 PDT 2012


On Monday, 15 October 2012 at 06:47:06 UTC, Jonathan M Davis 
wrote:
> On Sunday, October 14, 2012 23:40:41 H. S. Teoh wrote:
>> Funny, as soon as I said that, I manage to reproduce the same 
>> error
>> messages (though I can't say if it's exactly the problem 
>> you're seeing)
>> by compiling a file that doesn't define main(). In this case, 
>> I had a
>> hello.d with main() renamed to Main():
>
> Yes. The error message that he's getting is essentially the one 
> that you get
> when you don't define main, which is weird, because he _is_ 
> defining main. But I
> don't know if it's exactly the same or not. A detailed 
> comparison of the error
> messages that he's seeing and those that you get from not 
> defining main on a
> machine that works would be required to see whether it's 
> exactly the same
> message or not.
>
> I'm surprised that you didn't recognize the errors immediately. 
> I guess that
> you haven't missed main very often (I'm used to it primarily 
> from forgetting
> main when throwing together quick test scripts). But I'm 
> totally stumped as to
> why he'd be getting them, since he does appear to be declaring 
> main correctly.
>
> - Jonathan M Davis

Hi,

I decided to install the same distribution in a vm. This time 
instead of installing the .deb package, I went with the zip. 
Everything seems to be working! I can compile a non-trivial 
example just fine. I guess I'll definitely be using the zip from 
now on. Anyway, I also tried the zip version on Mac and Windoze. 
They both built the same code successfully. This is great! I can 
finally try out all of those great language features I've been 
reading about.

Thanks to everyone for pushing me down the rabbit hole far enough 
this time to get some payback ;-) It's on now!

Thanks,
-G












More information about the Digitalmars-d mailing list