Summary: | app-office/lyx-2.3.3 CXXFLAGS=-std=c++14 - insets/ExternalTemplate.cpp:194:2: error: ‘for_each’ was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paweł Metelski <pabou88> |
Component: | Current packages | Assignee: | Alexis Ballier <aballier> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | cjk, dirk |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
build.log lyx 2.3.3 build fix |
Description
Paweł Metelski
2020-07-01 11:23:30 UTC
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 *** |