symbol suggestion algorithm goes a bit awry

Maxim Fomin maxim at maxim-fomin.ru
Tue Sep 17 12:34:21 PDT 2013


On Tuesday, 17 September 2013 at 19:09:22 UTC, H. S. Teoh wrote:
> On Tue, Sep 17, 2013 at 09:02:43PM +0200, 
> digitalmars-d-bounces at puremagic.com wrote:
>> Maybe we should tweak the symbol suggestion algorithm :-)
>> 
>>     extern(C) void f();
>> 
>>     void main()
>>     {
>>         f();
>>     }
>> 
>> $ dmd test.d (v2.063.2)
>> Undefined symbols for architecture x86_64:
>>   "_f", referenced from:
>>       __Dmain in test.o
>>      (maybe you meant: 
>> _D17src/object_.d.80815__unittest_failFiZv,
>> _D17src/object_.d.81315__unittest_failFiZv ,
>> _D2rt3aaA15__unittest_failFiZv ,
> [...]
>
> Heh, that's funny.
>
> Please file a bug at: http://d.puremagic.com/issues/
>
> :)
>
>
> T

LOL. The question is as funny as the answer is.


More information about the Digitalmars-d mailing list