Closed GoogleCodeExporter closed 9 years ago
You are using gcc 4.3.2's <tr1/tuple> library with icc. The former uses a gcc
extension that is apparently not supported by icc.
Unfortunately I don't have access to icc to work on this. Please try to disable
tuple by adding this to your compiler flag:
-DGTEST_HAS_TR1_TUPLE=0
I'm closing this for now. Please re-open it if this doesn't fix your problem.
Original comment by zhanyong...@gmail.com
on 15 Jan 2009 at 11:29
I can confirm that this solved the problem.
You should get a copy of ICC, it is rather good.
Original comment by Sardathr...@gmail.com
on 21 Jan 2009 at 11:20
/usr/include/c++/4.3.2/tr1/tuple(74): error: expected an identifier
template<int _Idx, typename... _Elements>
this is not a gcc extension. Its part of the next c++ standard. There is
probably a
MACRO you can define that will make the standard libraries compile in legacy
mode.
Or some environment variable to tell icc to use and older copy of gcc's
libraries.
It doesn't look like icc is compatible with gcc 4.3. I would be worried about
what
other subtle errors icc is making using a standard library it wasn't tested
with.
Does icc come with it's own standard library?
Original comment by j.nick.terry@gmail.com
on 7 Mar 2009 at 1:01
Original issue reported on code.google.com by
Sardathr...@gmail.com
on 14 Jan 2009 at 10:40