cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl compilation on solaris with Sun C compiler

From: Amit Kumar <amit.kumar.iitr_at_gmail.com>
Date: Tue, 8 Jul 2008 14:23:04 +0530

lib/config.h

my config.h has

/* Define to 1 if you have the <stdbool.h> header file. */
/* #undef HAVE_STDBOOL_H */

though sun c compiler has stdbool.h.

explicitly defininng #define HAVE_STDBOOL_H 1
solves the problem. I am using ccurl version 7.16.3 at the moment.

Regards
Amit

On Tue, Jul 8, 2008 at 1:56 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Tue, 8 Jul 2008, Daniel Stenberg wrote:
>
> curl/lib/cookie.h", line 45: syntax error before or at: bool
>>>>
>>>
>> So does lib/setup.h say that you have a bool type present?
>>
>
> Argh, I meant lib/config.h...
>
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-07-08