← Back to team overview

kicad-developers team mailing list archive

Re: C++14 (redux)

 

Hi Wayne-

No worries!

How about this: We bump the C++ version in cmake but not put any C++14 code into the codebase for a week or two to see if there are any issues with supported platform packagers. If there are issues with supported platforms, we revert and wait for v7. If not, we start allow C++14 code.

-Seth


On 2019-07-10 13:00, Wayne Stambaugh wrote:
Hey Seth,

Sorry for the delayed response, this got lost in my inbox.  I'm on the
fence about this.  My gut says push it v7 development given the amount
of work we have to do for v6 but I'm not opposed to it as long as we can
build it on all of our supported platforms.

Cheers,

Wayne

On 7/5/19 3:52 PM, Seth Hillbrand wrote:
Hi Wayne-

This shouldn't affect users, only developers.  Once the binary is built,
there are no differences in requirements for running KiCad.

I would only push this to master and not 5.1, so that 5.1.3+ bug fixes
will still build for 14.04 (which was supported when 5.1 was released).

-Seth


On 2019-07-05 14:30, Wayne Stambaugh wrote:
Hey Seth,

Sorry about the delay.  I've been wrestling (and loosing) with restoring a broken boot manager on my desktop after a bios update stepped all over my uefi boot configuration (thank you HP).  I would like to hold off on C++14 for a while.  I suspect there are users who prefer running older
linux distros for stability purposes.  I would rather not throw those
users under a bus just yet unless we have enough credible evidence that it wont be an issue.  I suppose we could always put it out there and see
who screams and undo the changes as needed.

Cheers,

Wayne

On 7/1/19 7:20 PM, Seth Hillbrand wrote:
Hi Devs-

Now that Ubuntu 14.04LTS support has ended, are we building any
platforms that do not support C++14 (gcc prior to version 5)?

If not, can we bump our compiler language support to C++14?  This would
allow us to drop the ban on certain version of GLM as well as our
custom-rolled std::make_unique.  There are a few language features
(generalized lambda captures!) that would tighten up quite a bit of code
if available.

Obviously if we are still supporting a C++11 only system, this should be
delayed.

Best-
Seth

_______________________________________________
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