Jump to page: 1 2 3
Thread overview
DMD 1.010 release
Mar 26, 2007
Walter Bright
Mar 26, 2007
Walter Bright
Mar 26, 2007
Walter Bright
Mar 26, 2007
Walter Bright
Mar 27, 2007
Walter Bright
Mar 26, 2007
Lionello Lunesu
Mar 26, 2007
Carlos Santander
Mar 26, 2007
mike
Mar 26, 2007
Frits van Bommel
Mar 26, 2007
Walter Bright
Mar 26, 2007
Lionello Lunesu
Mar 26, 2007
Ary Manzana
Mar 26, 2007
Tom
Mar 26, 2007
F
Mar 26, 2007
Lionello Lunesu
Mar 27, 2007
F
Mar 26, 2007
Ary Manzana
Mar 26, 2007
Walter Bright
Mar 28, 2007
torhu
March 26, 2007
Bug fixes, some enhancements.

http://www.digitalmars.com/d/changelog.html

http://ftp.digitalmars.com/dmd.1.010.zip
March 26, 2007
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
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
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
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
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
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
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
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
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
« First   ‹ Prev
1 2 3