cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Problem when generate libcurl.lib

From: <delphine.menjikoff_at_orsyp.com>
Date: Tue, 4 Jan 2005 17:01:15 +0100

Hello,
I can generate the libcurl.lib static lib on Windows with the option CURL_STATICLIB.
Thanks !!!

-----Message d'origine-----
De : curl-library-bounces_at_cool.haxx.se [mailto:curl-library-bounces_at_cool.haxx.se] De la part de Gisle Vanem
Envoyé : samedi 1 janvier 2005 21:35
À : libcurl development
Objet : Re: Problem when generate libcurl.lib

<delphine.menjikoff_at_orsyp.com> wrote:

> On Windows (With Visual C++ IDE), the version 7.12.1 was OK : I
> generated with success without any warning a static library libcurl.lib.
>Now with the new version 7.12.3, I tried to compile and generate the
>libcurl.lib.
>The static library (libcurl.lib with 891Ko) was generated, but with 53
>warnings !!! always the same warnings:

>'curl_escape' : inconsistent dll linkage. dllexport assumed.
>'curl_unescape' : inconsistent dll linkage. dllexport assumed.

Add CURL_STATICLIB to your CFLAGS when *using* the static
libcurl.lib. Ref. the FAQ sec. 5.7.

--gv
Received on 2005-01-04