函数调用R-1-7-15强制

禁止函数参数列表中使用省略号

省略号的使用会导致函数参数类型不明确,可能会引起不必要的错误

函数参数表中使用省略号
test.c
1void foo(int x, ...);
禁止函数参数列表中使用省略号 [gjb8114-r-1-7-15]
2
3void foo(int x, ...)
禁止函数参数列表中使用省略号 [gjb8114-r-1-7-15]
4{
5}
函数参数表中未使用省略号
test.c
1void foo(int x);
2
3void foo(int x)
4{
5}