[dmd-beta] dmd 1.063 and 2.048 beta
Fawzi Mohamed
fawzi at gmx.ch
Mon Aug 9 05:07:59 PDT 2010
On 9-ago-10, at 13:46, Don Clugston wrote:
> On 9 August 2010 13:23, Fawzi Mohamed <fawzi at gmx.ch> wrote:
>>
>> On 9-ago-10, at 12:37, Don Clugston wrote:
>>
>>> [...]
>>> On a somewhat related topic -- Andrei commented out the unit tests
>>> in
>>> biguintcore and biguintx86 (search for @@ to find them) stating that
>>> they fail on OSX.
>>> They certainly pass on Windows, and they are unchanged since the
>>> last
>>> release. Can someone with access to OSX please uncomment them, and
>>> confirm that they fail? If they're failing, I think it can only mean
>>> we have an OSX-specific wrong-code regression, which we need to
>>> solve.
>>
>> On tango, they fail on osx, since like forever, I had told you but
>> probably
>> I should have made a more formal thing about it.
>> I sort of submitted a bug in http://dsource.org/projects/tango/ticket/1958
>
> OK, sounds like the unit tests may never have passed on OSX.
> BTW you can now assume that none of the Phobos devs will look at
> anything related to Tango. Compiler-related bug reports need to be
> added to Bugzilla.
I have always tried to reduce compiler bugs to lib independent bugs,
and submit them
>>> And on another topic: there's a bug here which is a bit hard to
>>> believe:
>>> 3461 Unittests and assert don't work at all (Mac D1 only)
>>> Has anybody tested D1 on OSX?? That bug is an absolute show-stopper
>>> if it's still current.
>>
>> unittest on mac *need* to be explicitly imported by the unittester
>> to be
>> loaded/accessible.
>> I had submitted a bug about it, don't know where it went...
>> Not sure if it is a bug or a feature...
>
> Sounds like a bug, especially when it works on D2.
here it is
http://d.puremagic.com/issues/show_bug.cgi?id=2726
Basically only the modules directly or indirectly included by the main
module (and about this I think that I also had issues connected with
the order with which the modules are passed to the compiler, at least
when compiling several at once, but I am not sure anymore) are
initialized.
Thus only those modules are "seen", and an empty main that does not
import anything would not test anything...
sure that it works with D2? It is intrinsically connected with how the
module info is stored.
Fawzi
More information about the dmd-beta
mailing list