Re: SV: [xml] windows binary with different calling conventions



Vakoc, Mark wrote:
If I recall correctly the msvc compiler will automatically convert a function with variable args declard as stdcall to cdecl without error or warning. But I may not recall correctly.

You do. The compiler will ignore stdcall and compile as cdecl in that case. The declaration in the header file will however remain and cause problems with linking, as Gustaf had them. One would need more than one macro for function declarations to go around that.

Ciao,
Igor




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]