← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Enable C++11

 

Are we sure this isn't the issue where cmake forgets to rebuild
pcbnewPYTHON_wrap.cxx? I've been having that issue about once every couple
weeks for a while, just delete it and rebuild :P

On Mon, Mar 21, 2016 at 08:13:48PM +0100, Nick Østergaard wrote:
> 2016-03-21 20:10 GMT+01:00 jp charras <jp.charras@xxxxxxxxxx>:
> > Le 21/03/2016 19:54, Nick Østergaard a écrit :
> >> 2016-03-21 19:52 GMT+01:00 jp charras <jp.charras@xxxxxxxxxx>:
> >>> Le 21/03/2016 16:13, Wayne Stambaugh a écrit :
> >>>> Going, going, gone!  Since I haven't gotten any objections, I committed
> >>>> the patch to enable C++11.  Thanks Simon for the patch but be prepared
> >>>> for the grumbling. :)
> >>>>
> >>>
> >>> On Ubuntu 14.04 LTS - 64 bits (with latest update) I have an issue when
> >>> compiling pcbnewPYTHON_wrap.cxx.
> >>
> >> I guess this is because wxpython is missing on 14.04.
> >
> > No.
> > I am able to build Kicad with option -DKICAD_SCRIPTING_WXPYTHON=ON.
> > The issue is not related to wxpython.
> > I also have this issue when I use only the option -DKICAD_SCRIPTING=ON.
> > This issue exists *only* when option -std=c++11 or -std=gnu++11 is used.
> 
> Lets just ignore this since 14.04 is end of life in august 2016 and
> use our effort on kicad moving forward.
> 
> >>
> >>> With no python support, Kicad itself compiles without any problem.
> >>> but with python support, I have the attached error.
> >>>
> >>> I am not especially motivated to fix it, and I do not have a lot of
> >>> experience about swig. Each test takes *a bunch of* time.
> >>>
> >>> If someone has an idea about a fix and can help, he is welcome!
> >>>
> >>> Despite of this issue, I am thinking using C++11 features is a good idea.
> >>>
> >>> --
> >>> Jean-Pierre CHARRAS
> >>>
> >>> _______________________________________________
> >>> 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
> >>>
> >>
> >
> >
> > --
> > Jean-Pierre CHARRAS
> 
> _______________________________________________
> 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


Follow ups

References