← Back to team overview

kicad-developers team mailing list archive

Proposal: Move to C++11 (time to revisit?)

 

There was a proposal to move to C++11 in April [1]. In the end, Wayne
suggested[2] that we should wait until major Linux distributions ship
with a (mostly) C++11-compliant compiler, so the proposal was not
adopted. I think it may be worthwhile to revisit the issue.

All major Linux distributions already ship GCC-4.8 as the default compiler:

Debian testing: GCC 4.8.1 [3]
Debian unstable: GCC 4.8.1 [3]
Ubuntu 13.10: GCC 4.8.1 [4]
Opensuse 13.1: GCC 4.8.? [5]
Fedora 19: GCC 4.8.2 [6]

According to wikimedia stats[7] the above distributions cover >98% of
the market.

The list is for the newest releases, older releases will use older
complilers of course. Presumably, the users who stick to these older
releases want stability and won't update to bleeding-edge KiCad anyway.
Thus I think they are not very important as far as this proposal is
concerned.

Any opinions?

Regards,
Povilas

[1]: https://lists.launchpad.net/kicad-developers/msg10091.html
[2]: https://lists.launchpad.net/kicad-developers/msg10120.html

[3]:
http://packages.debian.org/search?keywords=gcc&searchon=names&suite=all&section=all
[4]:
http://packages.ubuntu.com/search?keywords=gcc&searchon=names&suite=all&section=all
[5]: http://software.opensuse.org/package/gcc
[6]: https://apps.fedoraproject.org/packages/gcc-c++
[7]:
http://stats.wikimedia.org/archive/squid_reports/2013-10/SquidReportOperatingSystems.htm



Follow ups