cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Windows patches

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 1 Dec 2003 11:26:44 +0100 (CET)

On Tue, 25 Nov 2003, Gisle Vanem wrote:

> libcurl.dll with no CURLDEBUG, but memdebug.c compiled in is 177152 bytes.
> With memdebug.c ifdef'd out, it's 174592 bytes. A whopping 1% reduction :-)
> (debug symbols stripped in both cases).

Right. It isn't even 3K additional code on that platform, but I still don't
like the principle of linking with debug-code that won't be used.

The debug code size may also increase in the future (I hope to add better
run-time malloc tracking/leakage and overwrite detection in the future), and
it does add a range of public symbols to the library that I really would
prefer to keep hidden from the general libcurl users.

I'd rather remain having this somewhat awkward for the few developers who want
to change between a plain lib and the CURLDEBUG one. In my development, I just
make two separate build paths. One for normal builds and one for debug builds.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
 [[ Do not post private mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Received on 2003-12-01