Call to ‘pow’ is ambiguous in c++ [closed]

  ambiguous-call, c++, pow

I’m new to c++ and when I run

pow(real, f);

Xcode gives this error: "Call to ‘pow’ is ambiguous".

I use "double pow(double real , double f)" format and don’t know what is the problem. I included cmath and math.h. Other answers to resolve this error did not help.
Any comment is highly appreciated.

Source: Windows Questions C++