insets/ExternalTemplate.cpp: In member function ‘void lyx::external::Template::dumpFormats(std::ostream&) const’: insets/ExternalTemplate.cpp:194:2: error: ‘for_each’ was not declared in this scope for_each(formats.begin(), formats.end(), DumpFormat(os)); ^~~~~~~~
emerge --info, build.log, you should know the drill.
Please post your `emerge --info' output in a comment. Please attach the entire build log to this bug report.
Are you actually setting CXXFLAGS=-std=c++14 ??
Created attachment 647442 [details] emerge --info emerge --info
Created attachment 647444 [details] build.log
Created attachment 647448 [details, diff] lyx 2.3.3 build fix It appears lyx 2.3.3 is missing the <algorithm> include for for_each, however what made the change for it not to be included anymore i don't know (maybe boost 1.73?). Most other source code files contain the algorithm include, so i assume it was an oversight by the developers.
*** This bug has been marked as a duplicate of bug 721962 ***