I'm not sure that stdcall used only on Windows. I know, that `@XX` suffix ia added on windows 32 and don't added on windows 64.
>Using extern(Windows) on a non-windows platform should probably be an error.
I think this check should be performed not it mangle code. If extern (Windiws) symbol pass semantic analyse, it should be mangled and wrote into object file.