cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Threadsafe libcurl warnings

From: Daniel Stenberg <Daniel.Stenberg_at_netinsight.se>
Date: Thu, 30 Mar 2000 15:38:43 +0200

Wham Bang wrote:

> I've just switched to building libcurl threadsafe on NT, and I am
> seeing some warnings in getdate.c which have me somewhat worried.

[snip]

> getdate.y(469) : warning C4273: 'gmtime' : inconsistent dll linkage.
> dllexport assumed.

With the risk of revealing my VC++ cluelessness, what the heck does
"inconsistent dll linkage" mean?

> getdate.y(692) : warning C4013: 'abort' undefined; assuming extern
> returning int

That sounds like a normal missing prototype case.

> I haven't had time to do much testing since switching. Should I try
> to fix this or can I go on my merry way with a modicum of confidence
> that this won't come to bite me later...?

I assume gmtime(), localtime() and mktime() are documented somewhere in VC++
and if that docs doesn't say they're unsafe to use in a multi-threaded
environment, I can't see any reason why they would fail.

--
 Daniel Stenberg, Software Developer
 Daniel.Stenberg_at_haxx.nu, +46-705-443177, www.contactor.se/~dast
Received on 2000-03-30