使用的非標準擴展名:指定檔案範圍的函式
備註
使用預設Microsoft擴展名 (/Ze),函式宣告具有檔案範圍。
Example
下列範例會產生 C4210:
// C4210.c
// compile with: /W4 /c
void func1()
{
extern int func2( double ); // C4210 expected
}
int main()
{
func2( 4 ); // /Ze passes 4 as type double
} // /Za passes 4 as type int
此延伸模組可防止程式代碼可移植到其他編譯程式。