curl-library
Re: Undefined macros in curl/curl.h
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 5 Jan 2012 19:20:11 +0100 (CET)
Date: Thu, 5 Jan 2012 19:20:11 +0100 (CET)
On Thu, 5 Jan 2012, Dan Fandrich wrote:
> The source I looked at uses the original names which are macros to the
> OBSOLETE versions. The recent curl change just removed the OBSOLETE enums
> but left the compatibility macros. In once sense, removing those macros
> would clean the code base, but in another, leaving them makes it clear to
> anyone still using them why they suddenly disappeared.
Ah right. Perhaps we should instead make all four defines like this:
#define CURLE_FTP_USER_PASSWORD_INCORRECT CURL_SYMBOL_REMOVED_IN_7_24_0 ?
In the hope that it will be clearer to users?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-01-05