: I have the following declarations near the beginning of my code:
:
: void swapWin(HWND window);
: void UpdateWin();
: void NextCommand();
: void CheckButtons();
: void InitPosBox();
: void cancelCommand();
: void handleTimer1();
:
:
: However, when I compile my source I get loads of the following warning against all the calls to the above functions:
:
:
Call to function "all of the above" with no protoype in function...
:
: Isn't my above list the prototypes for all the functions? Or am I just placing them in the wrong location in my source code? Or maybe I'm totally off track?
:
: The program runs fine, but I don't like to see so many warnings, and wonder if there may be an issue at some point.
:
: Thanks for all help.
:
: Take Care,
: Ed
:
:
It could be that the compiler encouters the calls to the functions before it encounters the prototypes. That's why it is more elegant to have the prototypes in separate header files and #include them in all sources that contains calls to the functions.
If that is not the case, pls post some more code.
Greets,
Eric Goldstein
www.gvh-maatwerk.nl