← Back to team overview

kicad-developers team mailing list archive

Re: replace_boost_function_boost_bind.patch: Replace boost::function and boost::bind with their std:: counterparts

 

On 6/29/2016 7:46 AM, Maciej Sumiński wrote:
> On 06/28/2016 05:52 PM, Wayne Stambaugh wrote:
>> Orson,
>>
>> Since this mostly effects the new tool framework, I'll defer to your
>> judgement as to whether or not to commit this patch.  I don't have a
>> strong opinion one way or the other since we will not be able to
>> completely eliminate boost until C++ supports context switching.
>>
>> Thanks,
>>
>> Wayne
> 
> Hi,
> 
> Now, when we have all C++11 goodies, it sounds reasonable to get rid of
> their boost counterparts whenever possible. I have committed the patch
> in revision 6954.
> 
> Michael, thank you for your efforts!
> 
> Regards,
> Orson
> 

I think this is a reasonable goal.  We should approach this with some
caution to prevent breaking builds on stable systems.  Maybe we should
pick a minimum gcc (I'm not familiar with clang) version and draw a line
in the sand so other devs know what to expect with the usual disclaimer
that it may build on older versions but it's not supported.  I just
built the latest product branch of kicad with gcc 4.7.3 on msys1/mingw32
without any problems.  This version may be bit old but picking something
in the late 4 series of gcc seems reasonable.

Cheers,

Wayne


References