As the title states, I am having problems compiling my program, and the error is C++11 specific. Is there some way I can go back to the compiler I had on 12.04? Do I need to install another version of g++ and then use that? I googled around but I cannot find what shipped with 12.04. I just need an older alternative to the compiler 14.04 comes with.
Thanks!
link
did not work. I manually changed the symbolic link in /usr/bin/ to point to g++ and that worked fine. So problem solved.
– Mr. Fegur Sep 29 '14 at 18:15/usr/bin/g++
is just a symlink to/usr/bin/g++-4.8
, so you can try to make it point tog++-4.6
instead (i.e.,sudo ln -snf /usr/bin/g++-4.6 /usr/bin/g++
). It could cause some problems if you ven compile system things like kernel modules, though, so I wouldn't recommend it (but since it's easily undoable, I guess it doesn't really hurt to try). – fkraiem Sep 29 '14 at 18:20