2013/8/29 ollie <[email protected]>

> I have been seeing a new linker error while building xml2.
>
>   OPTLINK (R) for Win32  Release 8.00.12
>   Copyright (C) Digital Mars 1989-2010  All rights reserved.
>   http://www.digitalmars.com/ctg/optlink.html
>   sxmltest.obj(sxmltest)
>    Error 42: Symbol Undefined
>    _D3alt7zstring22__T9KeyValRecTAyaTAyaZ9KeyValRec
>    8opEqualsMxFKxS3alt7zstring22__T9KeyValRecTAyaTAyaZ9KeyValRecZb
>
>    (demangled for your convenience)
>    const(bool function(ref const(alt.zstring.KeyValRec!(immutable(char)[],
> immutable(char)[]).KeyValRec))) alt.zstring.KeyValRec!(immutable(char)[],
> immutable(char)[]).KeyValRec.opEquals
>
> The error starts with commit:
>
>   commit 751353c8217596726ab219b7d3a690e8950e409e
>   Author: k-hara <[email protected]>
>   Date:   Sat Aug 24 15:07:18 2013 +0900
>

Did you rebuild xml2 library after updating/rebuilding dmd code?
Because the dmd commit changes the object file places where some
instantiated template code are emitted.

Kenji Hara

Reply via email to