GCC Debugging/g++/Errors/call of overloaded function is ambiguous

Arguments in a function call do not match those in any function declaration
For example, a function, "foo", is called from inside main with an argument that is not a perfect match for any of the currently existing implementations of "foo".

Solution 1: Cast the argument to match a declaration

Solution 2: Create a new, overloaded version of the called function to match the arguments

The same function is defined more than once
Solution 1: Look for a misspelled or duplicate function definition/declaration

Solution 2: Make sure you're not using a function name defined in the standard library