View mode: basic / threaded / horizontal-split · Log in · Help
January 31, 2010
Re: Function implementation in interface
On 30-1-2010 15:53, The Anh Tran wrote:
> First, i would like to say: thank you.
> 
> Second, i would like to have your opinion:
> "added static/final function implementations to interfaces"
> 
> Could you allow normal function imp to interfaces too? Interface will
> look like c++ struct, but the difference is the way inheritance
> organized, so that diamond shape problem does not exist.

Use "final".

L.
January 31, 2010
Re: dmd 1.056 and 2.040 release
On 2010-01-30 02:13:48 -0500, Walter Bright <newshound1@digitalmars.com> said:

> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.040.zip

It's great to have TLS working on Mac OS X. But it looks like it 
suffers from the same linking problem as the module info section. I've 
added some useful observations to bugzilla that might help fix the 
issue in case you want to revisit it:

http://d.puremagic.com/issues/show_bug.cgi?id=3453


-- 
Michel Fortin
michel.fortin@michelf.com
http://michelf.com/
January 31, 2010
Re: dmd 1.056 and 2.040 release
Michel Fortin wrote:
> It's great to have TLS working on Mac OS X. But it looks like it suffers 
> from the same linking problem as the module info section. I've added 
> some useful observations to bugzilla that might help fix the issue in 
> case you want to revisit it:
> 
> http://d.puremagic.com/issues/show_bug.cgi?id=3453

You have to recompile *everything* with the new dmd, or anything 
dependent on the ModuleInfo will not work.
January 31, 2010
Re: dmd 1.056 and 2.040 release
Simen kjaeraas, el 30 de enero a las 23:23 me escribiste:
> Walter Bright <newshound1@digitalmars.com> wrote:
> 
> >
> >http://www.digitalmars.com/d/1.0/changelog.html
> >http://ftp.digitalmars.com/dmd.1.056.zip
> >
> >
> >http://www.digitalmars.com/d/2.0/changelog.html
> >http://ftp.digitalmars.com/dmd.2.040.zip
> >
> >Thanks to the many people who contributed to this update!
> 
> D2 changelog points @disable to attribute.html#deprecated,
> should be attribute.html#disable

I reported that in the beta ML but it seems that wasn't important enough
to fix :S

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
January 31, 2010
Re: dmd 1.056 and 2.040 release
On 2010-01-30 22:35:28 -0500, Walter Bright <newshound1@digitalmars.com> said:

> Michel Fortin wrote:
>> It's great to have TLS working on Mac OS X. But it looks like it 
>> suffers from the same linking problem as the module info section. I've 
>> added some useful observations to bugzilla that might help fix the 
>> issue in case you want to revisit it:
>> 
>> http://d.puremagic.com/issues/show_bug.cgi?id=3453
> 
> You have to recompile *everything* with the new dmd, or anything 
> dependent on the ModuleInfo will not work.

This has nothing to do with a partially recompiled program. It's about 
something interesting I added to this bug report. And trust me, I 
compiled the test case from scratch before using dumpobj and objdump on 
the object files and the linked executables.


-- 
Michel Fortin
michel.fortin@michelf.com
http://michelf.com/
January 31, 2010
Re: dmd 1.056 and 2.040 release
Michel Fortin wrote:
> This has nothing to do with a partially recompiled program. It's about 
> something interesting I added to this bug report. And trust me, I 
> compiled the test case from scratch before using dumpobj and objdump on 
> the object files and the linked executables.

All right, except that some others had the same problem, and discovered 
that they hadn't recompiled everything, and the problem went away when 
they did.
January 31, 2010
Re: dmd 1.056 and 2.040 release
strtr wrote:
> Walter Bright Wrote:
> 
>> http://www.digitalmars.com/d/1.0/changelog.html
>> http://ftp.digitalmars.com/dmd.1.056.zip
>>
>>
>> http://www.digitalmars.com/d/2.0/changelog.html
>> http://ftp.digitalmars.com/dmd.2.040.zip
>>
>> Thanks to the many people who contributed to this update!
> 
> Do you ever find new bugs while fixing other?

Yes. It's a big problem with forward references, because they can affect 
unrelated parts of the compiler. I think that's the reason that Walter's 
been slow to apply patches for forward reference bugs.
Fortunately, most other bugs aren't like that. The progress is real.
February 04, 2010
Re: dmd 1.056 and 2.040 release
Michel Fortin wrote:
> It's about 
> something interesting I added to this bug report.

I submitted a patch for it, 363.
February 04, 2010
Re: dmd 1.056 and 2.040 release
On 2010-02-04 01:39:44 -0500, Walter Bright <newshound1@digitalmars.com> said:

> Michel Fortin wrote:
>> It's about something interesting I added to this bug report.
> 
> I submitted a patch for it, 363.

Thanks.

The linker keeps sections in the right order now... except for 
__tlscoal_nt. If I'm not mistaken, this section should probably get the 
same treatment as the *_beg and *_end sections.

-- 
Michel Fortin
michel.fortin@michelf.com
http://michelf.com/
February 04, 2010
Re: dmd 1.056 and 2.040 release
Michel Fortin wrote:
> On 2010-02-04 01:39:44 -0500, Walter Bright <newshound1@digitalmars.com> 
> said:
> 
>> Michel Fortin wrote:
>>> It's about something interesting I added to this bug report.
>>
>> I submitted a patch for it, 363.
> 
> Thanks.
> 
> The linker keeps sections in the right order now... except for 
> __tlscoal_nt. If I'm not mistaken, this section should probably get the 
> same treatment as the *_beg and *_end sections.
> 

I think you're right.
1 2 3 4
Top | Discussion index | About this forum | D home