cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

Re: [cURLpp] NotAvailable exception raised in exEasy.setOpt(Options::CookieList(*it)) in example07

From: Jean-Philippe Barette-LaPierre <jpbarrette_at_gmail.com>
Date: Tue, 4 Nov 2008 08:32:47 -0500

On Tue, Nov 4, 2008 at 8:12 AM, Piotr Dobrogost <curlpp_at_2008.autoera.pl>wrote:

> Hi
>
> I get NotAvailable exception with error
> "This option was not available at compile time."
> raised in exEasy.setOpt(Options::CookieList(*it)) in example07.
> Can't find out why. Which option is not available and why? Anyone?

First, I've made some macros to allow compilation of new options even when
only an old libcURL library is available.
This option called NotAvailableOptionTraits is used whatever something is
not available at compile this. So, there's
two possibilities:
- The option is not available in your version. libcURL says that
CURLOPT_COOKIELIST
is available since 7.17.1.
- The macro might not be valid (which was discussed in
http://curl.haxx.se/mail/curlpp-2007-10/0004.html).

I have some work done on the second point, but didn't made it available yet.
If you want to verify that it might be solving
your issue, the link given above has the solution. I'll publish the complete
fix tomorrow.

>
> Regards
> Piotr Dobrogost
> _______________________________________________
> cURLpp mailing list
> cURLpp_at_rrette.com
> http://www.rrette.com/mailman/listinfo/curlpp
>

_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2008-11-04

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET