Thread overview | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
March 26, 2007 DMD 1.010 release | ||||
---|---|---|---|---|
| ||||
Bug fixes, some enhancements. http://www.digitalmars.com/d/changelog.html http://ftp.digitalmars.com/dmd.1.010.zip |
March 26, 2007 Re: DMD 1.010 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Nice I wish, i could use it. But Bug #1052 is not listed, which makes DMD completely unusable for me. I hope for 1.011 :) |
March 26, 2007 Re: DMD 1.010 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote:
> Bug fixes, some enhancements.
>
> http://www.digitalmars.com/d/changelog.html
>
> http://ftp.digitalmars.com/dmd.1.010.zip
Looking through the new stdio code:
* Why aren't the internal DigitalMars/GCC stdio functions and their aliases private?
* These lines:
---
if ((c2 == FGETWC(fp)) != -1 ||
c2 < 0xDC00 && c2 > 0xDFFF)
{
StdioException("unpaired UTF-16 surrogate");
}
c = ((c - 0xD7C0) << 10) + (c2 - 0xDC00);
---
(found twice in readln, both in DigitalMars and in GCC/Windows code) look suspicious to me, especially since I don't see any assignments to (or other use of) 'c2'. Is this a reverse "'=' vs '==' in an condition" bug?
|
March 26, 2007 Re: DMD 1.010 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frits van Bommel | Frits van Bommel wrote: > Walter Bright wrote: >> Bug fixes, some enhancements. >> >> http://www.digitalmars.com/d/changelog.html >> >> http://ftp.digitalmars.com/dmd.1.010.zip > > Looking through the new stdio code: > > * Why aren't the internal DigitalMars/GCC stdio functions and their aliases private? Sloth. > * These lines: > --- > if ((c2 == FGETWC(fp)) != -1 || > c2 < 0xDC00 && c2 > 0xDFFF) > { > StdioException("unpaired UTF-16 surrogate"); > } > c = ((c - 0xD7C0) << 10) + (c2 - 0xDC00); > --- > (found twice in readln, both in DigitalMars and in GCC/Windows code) look suspicious to me, especially since I don't see any assignments to (or other use of) 'c2'. Is this a reverse "'=' vs '==' in an condition" bug? Cripes, you're right. The '==' should be '='. Good catch! |
March 26, 2007 Re: DMD 1.010 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit (keinfarbton) | Frank Benoit (keinfarbton) wrote:
> I wish, i could use it. But Bug #1052 is not listed, which makes DMD
> completely unusable for me.
I apologize for that, I'll see what I can do.
|
March 26, 2007 Re: DMD 1.010 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit (keinfarbton) | Frank Benoit (keinfarbton) wrote:
> which makes DMD completely unusable for me.
At least you can get the documentation auf Deutsch now <g>.
|
March 26, 2007 Re: DMD 1.010 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright escribió:
> Bug fixes, some enhancements.
>
> http://www.digitalmars.com/d/changelog.html
>
> http://ftp.digitalmars.com/dmd.1.010.zip
Nice!
A question: how is the factory method supposed to work? The docs says "Create instance of class specified by classname. The class must either have no constructors or have a default constructor.". Can I pass "a.b.Foo" to it? I know I can try it, but that should be documented as well.
|
March 26, 2007 Re: DMD 1.010 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright escribió:
> Bug fixes, some enhancements.
>
> http://www.digitalmars.com/d/changelog.html
>
> http://ftp.digitalmars.com/dmd.1.010.zip
Thanks again.
Tom;
|
March 26, 2007 Re: DMD 1.010 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote:
> Frits van Bommel wrote:
>> Walter Bright wrote:
>>> Bug fixes, some enhancements.
>>>
>>> http://www.digitalmars.com/d/changelog.html
>>>
>>> http://ftp.digitalmars.com/dmd.1.010.zip
>>
>> Looking through the new stdio code:
>>
>> * Why aren't the internal DigitalMars/GCC stdio functions and their aliases private?
>
> Sloth.
>
>> * These lines:
>> ---
>> if ((c2 == FGETWC(fp)) != -1 ||
>> c2 < 0xDC00 && c2 > 0xDFFF)
>> {
>> StdioException("unpaired UTF-16 surrogate");
>> }
>> c = ((c - 0xD7C0) << 10) + (c2 - 0xDC00);
>> ---
>> (found twice in readln, both in DigitalMars and in GCC/Windows code) look suspicious to me, especially since I don't see any assignments to (or other use of) 'c2'. Is this a reverse "'=' vs '==' in an condition" bug?
>
> Cripes, you're right. The '==' should be '='. Good catch!
This reminds of that discussion concerning comparison of booleans to integers ;)
L.
|
March 26, 2007 Re: DMD 1.010 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright kirjoitti: > Frank Benoit (keinfarbton) wrote: >> which makes DMD completely unusable for me. > > At least you can get the documentation auf Deutsch now <g>. The language selector only works on the original page, all translated sites give e.g. Sorry, this URL is invalid http://66.249.93.104/translate_c?hl=en&langpair=en%7Cit&u=http://www.digitalmars.com/d/template.html Please choose from the following: * Go back to the previous page * Back to Language Tools * See original page |
Copyright © 1999-2021 by the D Language Foundation