參數 'number' 宣告不同
備註
使用不同的參數清單,第二次宣告 C 函式。 C 不支援多載函式。
Example
下列範例會產生 C2192:
// C2192.c
// compile with: /Za /c
void func( float, int );
void func( int, float ); // C2192, different parameter list
void func2( int, float ); // OK
參數 'number' 宣告不同
使用不同的參數清單,第二次宣告 C 函式。 C 不支援多載函式。
下列範例會產生 C2192:
// C2192.c
// compile with: /Za /c
void func( float, int );
void func( int, float ); // C2192, different parameter list
void func2( int, float ); // OK