You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following build errors on linux with GCC 10 and boost 1.75.0:
common/geometry/shape_line_chain.cpp: In member function 'const SHAPE_LINE_CHAIN SHAPE_LINE_CHAIN::Reverse() const':
common/geometry/shape_line_chain.cpp:65:5: error: 'reverse' was not declared in this scope; did you mean 'Reverse'?
65 | reverse( a.m_points.begin(), a.m_points.end() );
| ^~~~~~~
| Reverse
common/geometry/shape_line_chain.cpp: In member function 'int SHAPE_LINE_CHAIN::Intersect(const SEG&, SHAPE_LINE_CHAIN::INTERSECTIONS&) const':
common/geometry/shape_line_chain.cpp:247:5: error: 'sort' was not declared in this scope; did you mean 'qsort'?
247 | sort( aIp.begin(), aIp.end(), comp );
| ^~~~
| qsort
To fix them, I've added #include <algorithm> at the top of common/geometry/shape_line_chain.cpp.
The text was updated successfully, but these errors were encountered:
I get the following build errors on linux with GCC 10 and boost 1.75.0:
To fix them, I've added
#include <algorithm>
at the top ofcommon/geometry/shape_line_chain.cpp
.The text was updated successfully, but these errors were encountered: