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 [email protected] http://www.rrette.com/mailman/listinfo/curlpp
