Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 743 Bytes

compiler-warning-level-1-c4028.md

File metadata and controls

31 lines (23 loc) · 743 Bytes
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
C4028
C4028
c3e8b70b-e870-416c-a285-bba5f71dbfc6

Compiler Warning (level 1) C4028

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.

Example

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() {}