build dustmite

bioifornatics bioifornatics at fedoraproject.org
Sun Mar 9 05:14:43 PDT 2014


Firstly build way describe at
https://github.com/CyberShadow/DustMite/wiki/Building-DustMite

seem to be wrong as dsplit.d was rename as splitter.d

Secondly build fail take a  look behind

$  ldc2 -release -w -g -O3 dustmite.d splitter.d -of dustmite
splitter.d(262): Error: delegate splitter.DSplitter.__lambda22
function literals cannot be class members
splitter.d(262): Error: delegate splitter.DSplitter.__lambda22
circular dependency. Functions cannot be interpreted while being
compiled
splitter.d(284):        called from here: (*_error_()
{
Token[string] lookup;
auto t = Token.generated0;
Token add(string s)
{
auto p = s in lookup;
if (p)
return *p;
return lookup[s] = t++;
}

foreach (pair; pairs)
{
add(pair.start);
add(pair.end);
}
foreach (i, synonyms; separators)
{
foreach (sep; synonyms)
{
add(sep);
}
}
return lookup;
}
)()


More information about the Digitalmars-d-learn mailing list