cURL / Mailing Lists / curl-library / Single Mail


Re: Building Libcurl with DMC

From: Daniel Stenberg <>
Date: Sun, 15 Feb 2004 23:28:29 +0100 (CET)

On Sun, 15 Feb 2004, wrote:

> Hey all, trying to build libcurl with the free Digital Mars C/C++ compiler (
> ). It stumbled on the CINIT / CFINIT macros

What's the problem? A C compiler should either support the ## operator or the
/**/ operator. Are you saying the Digital Mars supports none of those?

> so I replaced them with constants and posted at
> .

Is that really the only way to make it build? It seems like a really annoying

> It compiles fine , however when the sample is run it crashes inexplicably.
> I ran it through the debugger seems its crashing on curl_easy_perform .
> Here's the Call window,
> main
> curl_easy_perform
> Curl_perform
> Curl_connect <-- crashing , calling CreateConnection .

Can you tell us more exact details? On what source line and what arguments the
function got passed in, possibly some contents of local variables.

I can't but to think that your compiler of choice may not be doing things

> make -f Makefile.dmc should be all u need to build. Has anyone compiled
> libcurl with DMC ? Can any libcurl guru's help get libcurl get built with
> DMC ?

I take it that compiler is for Windows?

    Daniel Stenberg -- --
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-02-15