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 > [email protected] > http://www.rrette.com/mailman/listinfo/curlpp -- Jean-Philippe Barrette-LaPierre _______________________________________________ cURLpp mailing list [email protected] http://www.rrette.com/mailman/listinfo/curlpp
