View mode: basic / threaded / horizontal-split · Log in · Help
December 09, 2006
DMD 0.177 release
More ABI changes, and implicit [] => * no longer allowed.

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

http://ftp.digitalmars.com/dmd.175.zip
December 09, 2006
Re: DMD 0.177 release
"Walter Bright" <newshound@digitalmars.com> wrote:
> More ABI changes, and implicit [] => * no longer allowed.
>
> http://www.digitalmars.com/d/changelog.html
>
> http://ftp.digitalmars.com/dmd.175.zip

Awesome, just awesome... :)
December 09, 2006
Re: DMD 0.177 release
Thank you , Walter! Great  D!





ideage.
December 09, 2006
Re: DMD 0.177 release
Walter Bright schrieb am 2006-12-09:
> More ABI changes, and implicit [] => * no longer allowed.
>

Thanks, runtime reflection seems to be within reach now.

Thomas
December 09, 2006
Re: DMD 0.177 release
Walter Bright wrote:
> More ABI changes, and implicit [] => * no longer allowed.
> 
> http://www.digitalmars.com/d/changelog.html
> 
> http://ftp.digitalmars.com/dmd.175.zip

Good release.

http://www.digitalmars.com/d/type.html is broken at the moment.
December 09, 2006
Re: DMD 0.177 release
Walter Bright kirjoitti:
> More ABI changes, and implicit [] => * no longer allowed.
> 
> http://www.digitalmars.com/d/changelog.html
> 
> http://ftp.digitalmars.com/dmd.175.zip

/home/me/D/Derelict/lib/libDerelictGL.a(glx.o):(.gnu.linkonce.d.D47TypeInfo_S8derelict6opengl3glx15__GLXcontextRec6__initZ+0x14): 
undefined reference to `D8derelict6opengl3glx15__GLXcontextRec6__initZ'

glx.d does not define the struct, only it's name:

struct __GLXcontextRec;

So back to .176 for a while...
December 09, 2006
Re: DMD 0.177 release
struct is value type so I don't like this change of cast and init.
I think that should introduce tuple literal as {} and support cast from 
tuple to struct like:

struct S{int x,y;}
S* s = &cast(S){0,0};//tuple literal + cast
*s = cast(S){0,0};//tuple literal + cast

#sorry for my poor English.
December 09, 2006
Re: DMD 0.177 release
Endea schrieb am 2006-12-09:
> Walter Bright kirjoitti:
>> More ABI changes, and implicit [] => * no longer allowed.
>> 
>> http://www.digitalmars.com/d/changelog.html
>> 
>> http://ftp.digitalmars.com/dmd.175.zip
>
> /home/me/D/Derelict/lib/libDerelictGL.a(glx.o):(.gnu.linkonce.d.D47TypeInfo_S8derelict6opengl3glx15__GLXcontextRec6__initZ+0x14): 
> undefined reference to `D8derelict6opengl3glx15__GLXcontextRec6__initZ'
>
> glx.d does not define the struct, only it's name:
>
> struct __GLXcontextRec;
>
> So back to .176 for a while...

The linux build of DMD seems to be a mix between version 0.176 and
0.177.

Thomas
December 09, 2006
Re: DMD 0.177 release
Walter Bright wrote:
> More ABI changes, and implicit [] => * no longer allowed.
> 
> http://www.digitalmars.com/d/changelog.html
> 
> http://ftp.digitalmars.com/dmd.175.zip

"# Casting a value v to a struct S is now rewritten as S(v).
# Initializing a struct S from a value v is now rewritten as S(v)."

It took me a moment to realise what you meant by this.  This appears to 
be the latest answer to the multiple opCast problem, albeit only for
when the target type is a struct.

WIHYE could we please have at least an answer about this soon?

http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.bugs&article_id=9360

Stewart.
December 09, 2006
Re: DMD 0.177 release
"Walter Bright" <newshound@digitalmars.com> wrote in message 
news:ele2k9$2hr5$1@digitaldaemon.com...
> More ABI changes, and implicit [] => * no longer allowed.
>
> http://www.digitalmars.com/d/changelog.html
>
> http://ftp.digitalmars.com/dmd.175.zip

opAssign is new as well, but it throws an AV - unless I'm not using it 
right?

class Test {

 int value;

 void opAssign(int value) {
   this.value = value;
 }

}

void main() {
 Test t = 10;
}
« First   ‹ Prev
1 2 3 4 5
Top | Discussion index | About this forum | D home