Hi,
I am trying to compile something and I thought I had read that FreeBSD 10 supports C++11 but configure is saying this:
How can I fix this?
I am trying to compile something and I thought I had read that FreeBSD 10 supports C++11 but configure is saying this:
Code:
checking whether g++ accepts -g... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=c++11... no
checking whether g++ supports C++11 features with -std=c++0x... no
configure: No compiler with C++11 support was found
configure: error: Upgrade your compiler. GCC 4.7+ and Clang 3.2+ are known to work.
How can I fix this?
Code:
FreeBSD clang version 3.4.1
gcc version 4.8.5