VMS Help  —  CC  Messages  TOOMANYARGSO
 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 more
                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.
                HP 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>.
Close Help