On 04.08.2017 18:22, jp charras wrote:
> 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?
> 
Hi,

I overlooked this, but fortunately this code is not used. I'll fix it asap.

Tom


_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to