User:Celtic Minstrel/WesnothCxx11Support

From The Battle for Wesnoth Wiki

This page outlines the GCC support in several major/popular Linux distributions. For each distribution and GCC version, it lists the latest version of that distribution that ships with the specified GCC version.

GCC version 5 or later 4.9 4.8 4.7 4.6 4.5 or earlier
Debian (unstable) 8 (jessie) -- 7 (wheezy) -- 6 (squeeze)
Ubuntu 15.10 (wily) 15 (vivid) 14 LTS (trusty) 13 (raring) 12 LTS (precise) 11 (natty)
Mint -- -- 17 (rosa) 15 (olivia) 13 (maya) 11 (katya)
OpenSUSE tumbleweed -- 42.1 12.3 12.1 11.4
Fedora rawhide 21 20 (heisenburg) 18 (spherical) 16 (verne) 14 (laughlin)
Arch Linux current -- -- -- -- 2010.05
Slackware current -- 14.1 14.0 -- 13.37
Gentoo unstable stable 20140826 -- 20121221 12.1
FreeBSD -- 10-STABLE 10.2 (stable) 9.3 -- 8.2
OpenBSD -- 5.8 -- -- -- --
SteamOS -- 2.0-preview (brewmaster) -- 1.0-beta153 (alchemist) -- --
CentOS -- -- 7-1511 (unstable?) -- -- 6.6

The rightmost two columns contains versions for which support is being dropped, as the targeted GCC version will now by 4.7.

The following C++11 language features are unsupported either in GCC 4.7 or in MSVC 2013 (VC12):

  • Alignment support (alignas, alignof)
  • C99 preprocessor (variadic macros, etc)
  • constexpr
  • inheriting constructors
  • inline namespaces
  • Unicode character and string types
  • user-defined literals
  • unrestricted unions
  • attributes
  • ref-qualifiers
  • "magic statics"
  • noexcept

Additionally, decltype is not fully standards-complying in GCC 4.7, while r-value references are not fully standards-complying in MSVC.

This page was last edited on 30 March 2016, at 18:43.