← Back to team overview

kicad-developers team mailing list archive

Annoying compil warning after commit 32185ddcd36da25348044ebb10ce47f8090cb3a3

 

Hi Tomasz,

I have this annoying warning when compiling Kicad on msys2:

F:/kicad-launchpad/git_testing/pcbnew/ratsnest_data.cpp: In member function 'const
std::__cxx11::list<std::shared_ptr<hed::EDGE> >&
RN_NET::TRIANGULATOR_STATE::hedTriangulation(std::vector<std::shared_ptr<hed::NODE> >&)':
F:/kicad-launchpad/git_testing/pcbnew/ratsnest_data.cpp:171:34: warning: reference to local variable
'edges' returned [-Wreturn-local-addr]
         std::list<hed::EDGE_PTR> edges;


Could you have a look into it?

Thanks.

-- 
Jean-Pierre CHARRAS


Follow ups