description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Warning (level 1) C4028 |
Compiler Warning (level 1) C4028 |
11/04/2016 |
|
|
c3e8b70b-e870-416c-a285-bba5f71dbfc6 |
formal parameter 'number' different from declaration
The type of the formal parameter does not agree with the corresponding parameter in the declaration. The type in the original declaration is used.
This warning is only valid for C source code.
The following sample generates C4028.
// C4028.c
// compile with: /W1 /Za
void f(int , ...);
void f(int i, int j) {} // C4028
void g(int , int);
void g(int i, int j) {} // OK
int main() {}