errors.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Error Message
                                                  Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler error C2136
 
     'function' : prototype must have parameter types
 
     A function prototype declarator had formal-parameter names, but no
     types were provided for the parameters.
 
     A formal parameter in a function prototype must either have a type
     or be represented by an ellipsis (...) to indicate a variable
     number of arguments and no type checking.
 
     One cause of this error is a misspelling of a type name in a
     prototype that does not provide the names of formal parameters.
                                    -♦-