הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
'void' cannot be used as a function parameter except for '(void)'
Remarks
A function parameter cannot be of type void.
Example
The following example generates C2860:
// C2860.cpp
// compile with: /c
void func1(void x); // C2860
void func2(void, int y); // C2860
void func3(void); // OK