www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Problem with dmd 2.068 Win 32

reply "MGW" <mgw yandex.ru> writes:
Hi!

My project has an error link:

Error 42: Symbol Undefined 
_D6object9Exception6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC9Exception

On dmd 2.067.* everything gathered without mistakes. Where to 
look for a mistake?
Aug 11 2015
next sibling parent reply "Dominikus Dittes Scherkl" writes:
On Tuesday, 11 August 2015 at 15:04:29 UTC, MGW wrote:
 Hi!

 My project has an error link:

 Error 42: Symbol Undefined 
 _D6object9Exception6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC9Exception

 On dmd 2.067.* everything gathered without mistakes. Where to 
 look for a mistake?
See the changelog. The compiler is now pickier if you forgot to link something explicitly.
Aug 11 2015
parent "Adam D. Ruppe" <destructionator gmail.com> writes:
On Tuesday, 11 August 2015 at 15:10:57 UTC, Dominikus Dittes 
Scherkl wrote:
 See the changelog.
 The compiler is now pickier if you forgot to link something 
 explicitly.
That shouldn't affect an Exception constructor through since they are part of the core druntime. I suspect it has to do with the update leaving some old files behind... might help to clean out the old dir and reinstall the dmd.
Aug 11 2015
prev sibling parent reply "Martin Nowak" <code dawg.eu> writes:
On Tuesday, 11 August 2015 at 15:04:29 UTC, MGW wrote:
 Hi!

 My project has an error link:

 Error 42: Symbol Undefined 
 _D6object9Exception6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC9Exception

 On dmd 2.067.* everything gathered without mistakes. Where to 
 look for a mistake?
Try ddemangle (part of the distribution). ddemangle _D6object9Exception6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC9Exception -> pure nothrow safe Exception object.Exception.__ctor(immutable(char)[], immutable(char)[], uint, object.Throwable) In the current release nogc was added. https://github.com/D-Programming-Language/druntime/blob/v2.068.0/src/object.d#L1614 You either have a wrong import paths (check which dmd.conf is used with 'dmd -v non_existent') or a stable object_.di file.
Aug 11 2015
parent reply "Adam D. Ruppe" <destructionator gmail.com> writes:
On Tuesday, 11 August 2015 at 15:18:31 UTC, Martin Nowak wrote:
 You either have a wrong import paths (check which dmd.conf is 
 used with 'dmd -v non_existent') or a stable object_.di file.
Or maybe a stale .obj or .lib file, referencing the old symbol. Try a make clean too - delete any .obj and .lib files in your project directory and rebuild.
Aug 11 2015
parent "MGW" <mgw yandex.ru> writes:
Thanks to all! The problem is localized!
Aug 11 2015