curl-library
Re: Problem using Borland c++ make.
Date: Fri, 18 Oct 2002 08:59:38 +0200 (MET DST)
On Thu, 17 Oct 2002, Emiliano Ida' wrote:
> I've tried to compile the 'libcurl' (version 7.10.1) using the makefiles for
> Borland's C++ 5.5, but i' ve got some problems:
*sigh* Of course they had to have that as well.
> Error E2184 ../include/curl/curl.h 256: Enum syntax error
Hm, on line 244 that looks like:
#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) || \
defined(__HP_aCC)
Can you please try to make it like this instead:
#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) || \
defined(__HP_aCC) || defined(__BORLANDC__)
That is, add a check for __BORLANDC__ as well.
Also, do the same fix on line 692. And please let me know if it fixes your
problem!
> Maybe i'm using an incorrect version of Make?
This doesn't fail due to make. It's the compiler that fails.
> Is there anyone that succedeed to compile the libcurl with Borland's Make
> 5.2?
I bet they all would get these compiler errors.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-10-18