improve error message when c++11 compiler is not available - refs #2376

This commit is contained in:
Dane Springmeyer 2014-08-21 15:03:57 -07:00
parent 8db68fc5e3
commit 920b92a3ef

View file

@ -1296,7 +1296,7 @@ if not preconfigured:
# test for C++11 support, which is required
if not conf.supports_cxx11():
color_print(1,"C++ compiler does not support C++11 standard, which is required. Please use Mapnik 2.x instead of 3.x as an alternative")
color_print(1,"C++ compiler does not support C++11 standard (-std=c++11), which is required. Please upgrade your compiler to at least g++ 4.7 (ideally 4.8)")
Exit(1)
if not env['HOST']: