共用方式為


編譯器錯誤 C2191

第二個參數清單比第一個參數清單長

C 函式第二次使用較長的參數清單宣告。 C 不支援多載函式。

範例

下列範例會產生 C2191:

// C2191.c
// compile with: /Za /c
void func( int );
void func( int, float );   // C2191 different parameter list
void func2( int, float );   // OK