The new minimum gcc version is 4.7 even for ubuntu 12.04. But currently we just throw a CMake error if gcc version is less than 4.6.
We also should provide a howto for updating the compiler on ubuntu 12.04 systems
The new minimum gcc version is 4.7 even for ubuntu 12.04. But currently we just throw a CMake error if gcc version is less than 4.6.
We also should provide a howto for updating the compiler on ubuntu 12.04 systems
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-4.7
Bonus: This ("official") repository also provides gcc 4.8 and 4.9.
Note that this does not replace the currently installed GCC version (probably 4.6.3 on Ubuntu 12.04). It is installed in parallel, i.e., execute gcc-4.7 instead of gcc.
[1ad51d]: Merge branch 'bug-18855-GCCUbuntu1204Hint'
2015-04-15 12:09:25 Stefan Kislinskiy [70f241]
Give hints for GCC 4.7 in Ubuntu 12.04 if GCC 4.6 is used.