Jacob Carlborg <d...@me.com> writes: > On 2015-04-24 20:37, Steven Schveighoffer wrote: > >> So am I going crazy? Or is dmd doing things differently depending on >> where its environment is? Any compiler gurus out there understand why >> the symbol is different? >> >> I don't want to file a bug with this, because it seems dependent on >> installation location, would possibly not be reproducible. > > I can't reproduce this with DMD from DVM (compiler is installed in the > user home directory).
I have lots of version laying around and they all worked fine on the posted code. But maybe a clue here... $ ~/dmd2.066.0/osx/bin/dmd mod1.d $ nm mod1.o | grep start U _D4core6thread6Thread5startMFZv $ dmd mod1.d $ nm mod1.o | grep start U _D4core6thread6Thread5startMFNbZC4core6thread6Thread --- a/src/core/thread.d +++ b/src/core/thread.d @@ -587,7 +587,7 @@ class Thread * Throws: * ThreadException if the thread fails to start. */ - final Thread start() + final Thread start() nothrow in { assert( !next && !prev ); I wonder if dmd -v will show where its picking up stuff.