To comply with the ANSI standard, old-style function declarations using an ellipsis now generate an error when compiling with /Za and a level 4 warning when compiling with /Ze. For example,
void funct1( a, ... ) /* Generates a warning under /Ze or */
int a; /* an error when compiling with /Za */
{
}
You should rewrite this declaration to as a prototype:
void funct1( int a, ... )
{
}
See topic for information on old-style function declarations.
Old-style function declarations also generate warnings if you subsequently declare or define the same function with either an ellipsis or a parameter with a type that is not the same as its promoted type.