Re: symbol suggestion algorithm goes a bit awry

2013-09-17 Thread H. S. Teoh
On Tue, Sep 17, 2013 at 09:02:43PM +0200, digitalmars-d-boun...@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,

symbol suggestion algorithm goes a bit awry

2013-09-17 Thread Luís.Marques
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:

Re: symbol suggestion algorithm goes a bit awry

2013-09-17 Thread Walter Bright
On 9/17/2013 12:08 PM, H. S. Teoh wrote: Please file a bug at: http://d.puremagic.com/issues/ That isn't going to help, as the clang linker devs don't look there.

Re: symbol suggestion algorithm goes a bit awry

2013-09-17 Thread Vladimir Panteleev
On Tuesday, 17 September 2013 at 19:02:44 UTC, Luís Marques wrote: Maybe we should tweak the symbol suggestion algorithm :-) That looks like linker output, and thus not a problem with the D toolchain. I guess that the linker you're using also has a suggestion feature. A quick Google tells me

Re: symbol suggestion algorithm goes a bit awry

2013-09-17 Thread Maxim Fomin
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-boun...@puremagic.com wrote: Maybe we should tweak the symbol suggestion algorithm :-) extern(C) void f(); void main() { f(); } $ dmd test.d

Re: symbol suggestion algorithm goes a bit awry

2013-09-17 Thread H. S. Teoh
On Tue, Sep 17, 2013 at 12:20:21PM -0700, Walter Bright wrote: On 9/17/2013 12:08 PM, H. S. Teoh wrote: Please file a bug at: http://d.puremagic.com/issues/ That isn't going to help, as the clang linker devs don't look there. lol... that will teach me to reply before reading more carefully.

Re: symbol suggestion algorithm goes a bit awry

2013-09-17 Thread Luís.Marques
On Tuesday, 17 September 2013 at 19:22:00 UTC, Vladimir Panteleev wrote: That looks like linker output, and thus not a problem with the D toolchain. I guess that the linker you're using also has a suggestion feature. A quick Google tells me you're using a Mac? I'm so used to D suggesting