cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

[cURLpp] CURLOPT_FTP_FILEMETHOD #ifdef question

From: Scott Barrett <scott_barrett_at_partech.com>
Date: Thu, 10 Apr 2008 15:10:58 -0400

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.

Sincerely,
Scott Barrett

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

These mail archives are generated by hypermail.

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

File upload with ASP.NET