Share via


编译器错误 C2192

参数“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