Thanks guys. Yeah I was using gcc4.3 which does not give this error, while gcc4.2 does.
I just checked in a patch to solve this.

Thanks,
Tushar


On 3/23/2011 10:56 AM, Nilay wrote:
On Tue, March 22, 2011 9:45 pm, Tushar Krishna wrote:
Hi all,
I didn't (and still don't) see any errors in networktest.cc when I built
m5 on my own computer for both SE and FS modes before checking in the
patch.
Could it be a gcc version issue?

The error which the regression tester points to is

build/ARM_FS/cpu/testers/networktest/networktest.cc:194: error: call
of overloaded 'pow(int, int&)' is ambiguous

The line which is giving the error is:
int injRange = pow(10, precision);

precision is an input parameter.

I just want to raise 10 to an input integer value. Is there any other
way I should use to do this?

What is the regression test that I should run to reproduce the errors
and warnings?

Thanks,
Tushar

Tushar, try compiling with GCC 4.2, that's the version on zizzer.

--
Nilay

_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to