From: Nelson, E. - 2 <eri...@ba...> - 2010-01-21 16:50:31
|
Glyn Matthews wrote: >> 2) the error comes from request_methods.ipp, on line >> static char const * const DELETE = "DELETE"; >> Winnt.h #defines DELETE. If I change the offending line in >> request_methods.ipp to 'DELETE_', that seems to fix it > Can you submit a patch? I've tried a bit to get the git dev tools set up, but the company firewall doesn't allow SSH traffic as far as I can tell, and I haven't managed to figure out how to clone the repository over http. At any rate, in \boost\network\protocol\http\traits\impl\request_methods.ipp I changed static char const * const DELETE = "DELETE"; to static char const * const DELETE_ = "DELETE"; and made the corresponding change to the next line. apologies for the un-handy patch style... I'll try to figure out a better way. Erik |