tpounds/mockitopp

overriding CXX variable doesn't affect checks for regex

Closed this issue · 2 comments

What steps will reproduce the problem?
1. CXX=/path/to/gcc-4.7 scons
2.
3.

What is the expected output? What do you see instead?
I see:
Checking for ::std::regex... no
Checking for ::std::tr1::regex... no
Checking for ::boost::regex... no

in the config.log, I see that it is using flat g++ to run the tests intead of 
my overridden compiler. Additionally, I can't figure out how to get 
-std=gnu++11 into the flags during those tests.

Original issue reported on code.google.com by plaztiks...@gmail.com on 8 Jan 2013 at 11:18

I think your problem is not providing the fully qualified path to the g++ 
binary.

e.g.

CXX=/path/to/gcc-a.b.c/bin/g++ scons

Let me know if this doesn't fix your problem.

Original comment by trevor.p...@gmail.com on 9 Jan 2013 at 4:31

I'm going to mark this as a non-issue. Please reopen if you continue to have 
problems.

Original comment by trevor.p...@gmail.com on 12 Jan 2013 at 9:25

  • Changed state: WontFix