Very vague compiler error message
Rikki Cattermole via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Aug 12 00:56:01 PDT 2014
On 12/08/2014 7:16 p.m., Jeremy DeHaan wrote:
> I recently got this error messege when building my library:
>
> dmd: cppmangle.c:154: void CppMangleVisitor::cpp_mangle_name(Dsymbol*):
> Assertion `0' failed.
>
> I have no idea what it means and haven't found much information about
> it. I think I have narrowed it down to the file that is giving this
> error, but does anyone know what the heck causes something like this?
> Talk about a nondescript error.
That error is being generated from within dmd itself.
In other words you've found an edge case congratulations!
Look for functions/methods using the extern(C++) mangling.
Mock them out into D versions and see which fails maybe?
More information about the Digitalmars-d-learn
mailing list