digitalmars.D.learn - build dustmite
- bioifornatics (36/36) Mar 09 2014 Firstly build way describe at
- Andrej Mitrovic (9/17) Apr 13 2014 From what i can tell line 284 references pull 2824, which was
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; } )()
Mar 09 2014
On Sunday, 9 March 2014 at 12:14:43 UTC, bioifornatics wrote:Firstly build way describe at https://github.com/CyberShadow/DustMite/wiki/Building-DustMite seem to be wrong as dsplit.d was rename as splitter.dAnyone can edit the wiki. But this was fixed now.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(284): called from here: (*_error_()From what i can tell line 284 references pull 2824, which was merged just recently. Dustmite likely requires a git-head version of the compiler. Probably an oversight. A pull was made to fix the issue: https://github.com/CyberShadow/DustMite/pull/19 In the future you should really file bugs to the dustmite bug tracker, not D.learn.
Apr 13 2014