kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #23864
Re: [PATCH] Enable C++11
Le 21/03/2016 20:11, Wayne Stambaugh a écrit :
> On 3/21/2016 3:10 PM, jp charras wrote:
>> 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.
>
> It looks like swig is creating some code that C++11 doesn't like. What
> version of swig are you using? I'm using 3.0.6 on windows msys2 builds.
I have no problem on msys2 32bits.
Moreover, I believe gnu++11 is the default option on msys2.
The issue is only on Ubuntu.
I am also thinking to a swig issue.
On Ubuntu, swig is 2.0.11.
--
Jean-Pierre CHARRAS
References
-
C++11 support
From: Simon Richter, 2016-03-10
-
[PATCH] Enable C++11
From: Simon Richter, 2016-03-10
-
Re: [PATCH] Enable C++11
From: jp charras, 2016-03-17
-
Re: [PATCH] Enable C++11
From: Nick Østergaard, 2016-03-17
-
Re: [PATCH] Enable C++11
From: jp charras, 2016-03-17
-
Re: [PATCH] Enable C++11
From: Wayne Stambaugh, 2016-03-17
-
Re: [PATCH] Enable C++11
From: Simon Richter, 2016-03-18
-
Re: [PATCH] Enable C++11
From: Wayne Stambaugh, 2016-03-18
-
Re: [PATCH] Enable C++11
From: Wayne Stambaugh, 2016-03-21
-
Re: [PATCH] Enable C++11
From: jp charras, 2016-03-21
-
Re: [PATCH] Enable C++11
From: Nick Østergaard, 2016-03-21
-
Re: [PATCH] Enable C++11
From: jp charras, 2016-03-21
-
Re: [PATCH] Enable C++11
From: Wayne Stambaugh, 2016-03-21