W8045 No declaration for function 'function' (C++)
Go Up to Compiler Errors And Warnings (C++) Index
(Command-line option to display warning: -wnod)
This message is given if you call a function without first declaring that function.
In C, you can declare a function without presenting a prototype, as in
int func();
In C++, every function declaration is also a prototype; this example is equivalent to
int func(void);
The declaration can be either classic or modern (prototype) style.