Issue 10 in mockitopp: overriding CXX variable doesn't affect checks for regex

2 views
Skip to first unread message

mock...@googlecode.com

unread,
Jan 8, 2013, 6:18:58 PM1/8/13
to mockit...@googlegroups.com
Status: Accepted
Owner: plaztiks...@gmail.com
Labels: Type-Defect Priority-Medium

New issue 10 by plaztiks...@gmail.com: overriding CXX variable doesn't
affect checks for regex
http://code.google.com/p/mockitopp/issues/detail?id=10

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.


mock...@googlecode.com

unread,
Jan 8, 2013, 11:31:33 PM1/8/13
to mockit...@googlegroups.com

Comment #1 on issue 10 by trevor.p...@gmail.com: overriding CXX variable
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.

mock...@googlecode.com

unread,
Jan 12, 2013, 4:25:37 PM1/12/13
to mockit...@googlegroups.com
Updates:
Status: WontFix

Comment #2 on issue 10 by trevor.p...@gmail.com: overriding CXX variable
I'm going to mark this as a non-issue. Please reopen if you continue to
have problems.

Reply all
Reply to author
Forward
0 new messages