Re: [Kicad-developers] [PATCH 1 / 2] Add check to use std::optional

2018-07-20 Thread Wayne Stambaugh
I have my doubts the c++17 will happen during v6 development but there is an outside chance it could happen. Please keep in mind that there are users who run older stable versions of linux that don't want to risk using the latest compilers. I want to keep kicad to build on the largest possible se

Re: [Kicad-developers] [PATCH 1 / 2] Add check to use std::optional

2018-07-19 Thread Thomas Figueroa
Cc: KiCad Developers Subject: Re: [Kicad-developers] [PATCH 1 / 2] Add check to use std::optional Hi Thomas- Thank you for the contribution! Right now KiCad only uses C++11. But once we move up to C++17, we will want to minimize code paths so that everyone sees the same result. Otherwise we

Re: [Kicad-developers] [PATCH 1 / 2] Add check to use std::optional

2018-07-19 Thread Seth Hillbrand
Hi Thomas- Thank you for the contribution! Right now KiCad only uses C++11. But once we move up to C++17, we will want to minimize code paths so that everyone sees the same result. Otherwise we risk introducing bugs that _really_ hard to track down. In other words, replacing boost:: with std::

[Kicad-developers] [PATCH 1 / 2] Add check to use std::optional

2018-07-19 Thread Thomas Figueroa
Hello everyone, my name is Thomas. I’ve posted a few times on here to submit some feedback, but now I have finally mustered the courage to submit stuff for development. This first pair of patches is really just to get a feel for things and get feedback on any issues with my process or potential p