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.
C2661
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler error C2661
 
     'function' : no overloaded function takes 'number' parameters
 
     The specified overloaded function was not declared for the given
     number of parameters.
 
     This error can be caused by calling the function with incorrect
     actual parameters or by omitting a function declaration.
 
     The following is an example of this error:
 
          void func( int );
          void func( int, int );
 
          void main()
          {
             func( );      // error, func( void ) was not declared
             func( 1 );    // OK, func( int ) was declared
          }
                                    -♦-