Build error when "make -j N" (N>1)
Status: Inactive
Brought to you by:
tim_littlefair
When I build version 3.1.4 with
make -j 4
, it shows many errors like this:
g++ -c -I../pccts/h -x c++ CParser.cpp -oCParser.o CLexer.cpp:416:3: error: no matching function for call to 'endOfLine' endOfLine(*this); ^~~~~~~~~ CLexer.cpp:59:13: note: candidate function not viable: no known conversion from 'CLexer' to 'JLexer &' for 1st argument inline void endOfLine(JLexer &lexer) ^ CLexer.cpp:423:3: error: no matching function for call to 'endOfLine' endOfLine(*this); ^~~~~~~~~ CLexer.cpp:59:13: note: candidate function not viable: no known conversion from 'CLexer' to 'JLexer &' for 1st argument inline void endOfLine(JLexer &lexer) ^ CLexer.cpp:430:3: error: no matching function for call to 'endOfLine' endOfLine(*this); ^~~~~~~~~ CLexer.cpp:59:13: note: candidate function not viable: no known conversion from 'CLexer' to 'JLexer &' for 1st argument inline void endOfLine(JLexer &lexer) ^
These errors never appear when "make -j 1".
Could anyone suggest me a solution?