On Wed, Aug 25, 2010 at 21:53, Branko Čibej <br...@xbc.nu> wrote: > On 26.08.2010 01:46, Greg Stein wrote: >> On Wed, Aug 25, 2010 at 19:39, Justin Erenkrantz <jus...@erenkrantz.com> >> wrote: >> >>> ... >>> I'm not sure there is any API/ABI changes between 0.6.1 and 0.7.0. >>> Greg? Lieven? -- justin >>> >> 0.6.1 and 0.7.0 are effectively compatible. I think an unused function >> was removed, and the unused SERF_DECLARE stuff was removed. >> > > IIRC replacing the #declspec with a .DEF file will change the ABI for > DLLs on Windows. Shouldn't affect MacPorts or any other Unix-like system > though.
Ah. Thanks for the info. The macros didn't do anything though (never got that far), so the declarations/implementations were the default callspec. Not sure if that matters, and I don't really care :-P ... as long as Blair is set, then we're good. Background: serf used a set of DECLARE macros, much like Apache httpd and APR. But Subversion showed that it was unnecessary since you could just use a .def file instead of funky magic. And that it was easy to create that .def as long as your header files were regularized in their declaration formatting. So 0.7.0 drops the complexity and switched to a simple .def generation instead. Lesson learned: it doesn't pay to stick with old, tired idioms. Cheers, -g