cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Windows CE (1/1) (1/1)

From: Gisle Vanem <giva_at_bgnett.no>
Date: Fri, 5 Nov 2004 16:22:00 +0100

"Gisle Vanem" wrote:
> "Paul Nolan" wrote:
>
>> Yes, I use the -Tp flag.
>
> Why? Since all curl prototypes are embedded inside
> #ifdef __cplusplus
> extern "C" {
> #endif
>
> I cannot see how you manage to link libcurl.dll to your app.

Didn't get a reason for using '-Tp'. So the WinCE patches to
mprintf.c seems completely redundant. I assume the original reason
was that MSVC requires var-arg functions to be cdecl.

--gv
Received on 2004-11-05