[ 34%] Building CXX object QueryEngine/CMakeFiles/QueryEngine.dir/ColumnarResults.cpp.o
/home/pearu/git/omnisci/omniscidb-internal/QueryEngine/ColumnarResults.cpp:635:32: error: 'write_functions' in capture list does not name a variable
&write_functions,
Solution, use
See https://stackoverflow.com/questions/7895879/using-member-variable-in-lambda-capture-list-inside-a-member-function