foo.cpp: In function 'int main()':
foo.cpp:49:25: error: call of overloaded 'pow(int, int&)' is ambiguous
foo.cpp:49:25: note: candidates are:
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/../../../../include/math.h:156:24: note: double pow(double, double)
foo.cpp:28:4: note: long long int pow(long long int, long long int)
foo.cpp:51:31: error: call of overloaded 'pow(int, int&)' is ambiguous
foo.cpp:51:31: note: candidates are:
c:\mingw32\bin\../lib/gcc/mingw32/4.6.1/../../../../include/math.h:156:24: note: double pow(double, double)
foo.cpp:28:4: note: long long int pow(long long int, long long int)