I'd have to agree with cornedbee here... I think it's kinda the same as this error:

test.cpp:3: error: `x' undeclared (first use this function)
test.cpp:3: error: (Each undeclared identifier is...