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] CURLOPT_FTP_FILEMETHOD #ifdef question

From: Jean-Philippe Barrette-LaPierre <jpb_at_rrette.com>
Date: Thu, 10 Apr 2008 17:04:48 -0400

On Thursday 10 April 2008 3:10 pm, Scott Barrett wrote:
> Dear Jean-Philippe,
>
> In attempting to use the FtpFileMethod option defined in Options.hpp, I
> noticed that the typedef is wrapped in a #ifdef. This is one of two
> instances of preprocessor constants used in Options.hpp that match enum
> values defined in curl.h (as of version 7.18.1).
>
> Any attempt to define such preprocessor constants causes compilation errors
> in curl.h. It appears that these #ifdefs must be changed to avoid the
> collision or must be eliminated altogether.
>
> cURL provides the macros LIBCURL_VERSION_MAJOR, LIBCURL_VERSION_MINOR, and
> LIBCURL_VERSION_PATCH, which may be used to protect version-sensitive
> portions of the cURLpp code if that is what the original #ifdefs were
> intending to provide.

You are absolutely right. I should have done some cleanup, but I never
took the time to do it. It's gonna be my next priority.

By the way, if anyone has insight on how to improve the usability of
cURLpp, don't hesitate to speak up!

>
> Sincerely,
> Scott Barrett
>
> _______________________________________________
> cURLpp mailing list
> cURLpp_at_rrette.com
> http://www.rrette.com/mailman/listinfo/curlpp

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

These mail archives are generated by hypermail.

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

File upload with ASP.NET