Anyone know how to fix this semantic error or why its screaming at me?

PHP Code:
long int num strtol(input.c_str(), 010); 
Causes a semantic error: 'strtol' is ambiguous.
Not sure if its more an IDE thing, but I'm using Eclipse CDT and the g++ compiler for Mac OS.