← Back to team overview

kicad-developers team mailing list archive

Re: Failed to build on my system

 

I agree, I flagged this as a bug but I may have forgotten to send a patch
to the list.  In this instance the iterators should be declared as the
non-const type.

On Fri, Jun 10, 2016 at 4:48 AM, Simon Richter <Simon.Richter@xxxxxxxxxx>
wrote:

> Hi,
>
> On 09.06.2016 20:28, Mário Luzeiro wrote:
>
> [Using iterator instead of const_iterator as place hint for std::list]
>
> > This workaround works!
>
> I think this gcc version we can support with only little effort, since
> we need to have a non-const reference to the container anyway, so
> getting a non-const iterator should be trivial in almost all cases, and
> C++11 support is otherwise complete enough in that version.
>
>    Simon
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
>

References