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.
C4087
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler warning (level 1) C4087
 
     'function' : declared with 'void' parameter list
 
     The given function was declared with no formal parameters, but a
     call to the function specified actual parameters.
 
     The extra parameters were passed according to the calling
     convention used on the function.
 
     The following example generates this warning:
 
          int f1( void );
          f1( 10 );
                                    -♦-