Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
formal parameter number has different type when promoted
Remarks
The type of the specified parameter is not compatible, through default promotions, with the type in a previous declaration. This is an error in ANSI C (/Za) and a warning with Microsoft extensions (/Ze).
Example
The following example generates C2379:
// C2379.c
// compile with: /Za
void func();
void func(char); // C2379, char promotes to int