'identifier' : function called before default arguments were resolved
The function is declared or defined with default arguments, but called before the default arguments are defined.
Example
class C { public: void a(void) { b(); // error caught here } void b(void* ptr = sp); // move this line above the definition static void *sp; // a() to avoid error };