C/C++ Compiler (cl.hlp) (Table of Contents; 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.
C2136
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler error C2136
 
     'function' : prototype must have parameter types
 
     A function prototype declaration 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 parameters 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 the formal
     parameters.
                                    -♦-