cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLcode_strerror

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 8 Mar 2004 07:59:45 +0100 (CET)

On Fri, 5 Mar 2004, codemastr wrote:

> That could work, however, is it 100% legal to convert from enum -> int? I
> could swear that there was a compiler that complained about such things, but
> I could be mistaken.

I agree that it is not the best possible approach, since it'll require
typecasts or implicit conversions from different enums to int. I still suggest
it to minimize the number of functions.

> Also, were any decisions made with regard to i18n? Meaning, should gettext
> be used by this function to allow for translation into other languages?

I'm not very experienced in gettext and i18n issues in general, so I hope for
some guidelines from cluefull people. gettext is a GNU program so we must make
sure there's no license issues around our possible use of it.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-03-08