VMS Help CC, Messages, TOOFEWARGSO *Conan The Librarian (sorry for the slow response - running on an old VAX) |
Message <Context> "<function expression>", which was declared with an old-style function definition, expects <correct number> arguments, but <actual number> are supplied. Description A function that was declared with an old-style function definition has been invoked with fewer arguments than it expects. While this is valid C, it might not have been what you intended. User Action Make sure the number of arguments passed to a function match those specified in the function declaration. If the function is to be called with a variable number of arguments, it should use the facilities of <varargs.h> for old-style definitions. Compaq generally recommends that old-style function definitions be replaced by prototype-format definitions, in which case variable argument lists are specified using the ... notation and the definition uses the facilities of <stdarg.h>.
|