Boost.ScopeExit based on D's scope(exit)

Walter Bright newshound1 at digitalmars.com
Wed Mar 4 13:28:43 PST 2009


Georg Wrede wrote:
> And now a major gripe: I have just spent *half a day* trying to figure 
> out what's wrong when I try to use shebang with rdmd. I was basically 
> using hello.d with a shebang. And with rdmd I got this peculiar error 
> message:
> 
> .d'nnot read file '
> /usr/local/digitalmars/dmd1040/linux/bin/rdmd: Couldn't compile or 
> execute ./numma.d.
> 
> Just now I figured it out: numma.d was a copy of hello.d, which of 
> course has Windows line endings. Aaaaaaaaaaaaaaaarrrrghhhhhh!


Is that a bug in rdmd or elsewhere? We should as far as possible work 
seamlessly with different line endings.


More information about the Digitalmars-d-announce mailing list