cmake error

Hi, (Mariadb-Version 10.2.3; source package; Arch-Linux) Running

cmake .

end with the error message:

/usr/bin/c++ doesn't support -std=c++11 or -std=c++0x, you need one that does.

How can upgrade / modify the c++ compiler to support the required c++11 and/or c++0x modes?

Thank You!

Answer Answered by kanika satija in this comment.

In bashrc make an alias for g++ by below command:-

alias g++="g++ --std=c++0x"


Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.