← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Enable C++11

 

It still sounds to me that boost needs to be bumped to 1.55 and possibly
some definitions need to added to the build configuration for Boost to
build properly.  If someone can include those changes along with Simon's
original patch.  I'll give it go and commit it if I don't have any
issues.  If there is a big backlash, I can always roll it out.

On 3/10/2016 11:15 AM, Chris Pavlina wrote:
> It doesn't seem to me that enabling a config macro as well is really all that
> much.
> 
> Since we're still in the heavy development phase of the cycle, I personally
> think that this is the absolute _best_ time to do things like enabling C++11.
> We're not making any major releases now, so we have plenty of time to make
> tweaks if small things break, or back out the changes entirely if large things
> break.  It's really not a big deal, from my perspective. That's what this part
> of the devel cycle is _for_. :)
> 
> On Thu, Mar 10, 2016 at 10:56:32AM -0500, Wayne Stambaugh wrote:
>> This is why I have been reluctant to make C++11 the default.  There are
>> just too many legacy systems around where it would cause issues.  I'm OK
>> with bumping the boost version to 1.55 because I think the impact of
>> that would be minimal but if we have to do much more that that, we may
>> want to hold off until the rest of the world catches up.
>>
>> On 3/10/2016 9:40 AM, Mark Roszko wrote:
>>> boost 1.55 only adds the the flag you now have to set to workaround.
>>>
>>>> Fixed in Git develop: I've added and documented two config macros:
>>>> BOOST_MATH_USE_FLOAT128 and BOOST_MATH_DISABLE_FLOAT128 which explicitly enable/disable this feature.
>>>> Defining the latter macro should fix things for your use case.
>>>
>>>
>>> I think much much newer boost might fix it entirely but its also a
>>> older gcc issue as I don't believe I ran into it on my Windows setup
>>> which is way way more bleeding edge than Ubuntu.
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>> _______________________________________________
>> 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