From 5982d4749bd20b362a954f7d2034610aecf90304 Mon Sep 17 00:00:00 2001 From: Naughtylus Date: Thu, 3 Nov 2016 12:33:48 +0100 Subject: [PATCH] Changed C++ compiler detection error message It's now : "Failed to detect C++ compiler : CXX environment variable not set. Is g++ or clang++ available in your PATH ?" --- SConstruct | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index dee8ee0d..d9abf853 100644 --- a/SConstruct +++ b/SConstruct @@ -83,7 +83,9 @@ class FreelanEnvironment(Environment): if self['CXX'] is None: raise SCons.Errors.BuildError( - errstr="CXX environment variable not set. Are you missing a C++ compiler?") + errstr=( + "Failed to detect C++ compiler : CXX environment variable not set." + "\nIs g++ or clang++ available in your PATH ?")) else: if os.path.basename(self['CXX']) == 'clang++': self.Append(CXXFLAGS=['-Qunused-arguments'])