← Back to team overview

kicad-developers team mailing list archive

Polygon build broken

 

Hi All-

A recent commit broke the polygon build

Here's the error:

/home/seth/code/kicad/kicad-launchpad/polygon/PolyLine.cpp: In member function ‘bool CPolyLine::TestPointInside(int, int)’: /home/seth/code/kicad/kicad-launchpad/polygon/PolyLine.cpp:934:37: error: cannot convert ‘CPOLYGONS_LIST’ to ‘const wxPoint*’ if( TestPointInsidePolygon( m_CornersList, istart, iend, px, py ) )
                                     ^~~~~~~~~~~~~
In file included from /home/seth/code/kicad/kicad-launchpad/polygon/PolyLine.cpp:46: /home/seth/code/kicad/kicad-launchpad/polygon/./polygon_test_point_inside.h:63:45: note: initializing argument 1 of ‘bool TestPointInsidePolygon(const wxPoint*, int, const wxPoint&)’
 bool TestPointInsidePolygon( const wxPoint* aPolysList,



Follow ups