[Harbour] Re: hb_i18n_gettext( "" ) warning. is it normal?

Viktor Szakáts harbour.01 at syenar.hu
Fri May 1 10:11:45 EDT 2009


I had to create workaround for this warning by passing " " string instead of
zero length one, IMO we should support empty values and simply always
return it as is in hb_i18n_gettext().

Brgds,
Viktor

On Fri, May 1, 2009 at 4:05 PM, Viktor Szakáts <harbour.01 at syenar.hu> wrote:

> Hi All,
> Compiling this code:
> ---
>    ? hb_i18n_gettext( "" )
> ---
>
> results in this:
> ---
> Warning W0017  Incompatible parameter 'String', expected 'String'
> ---
>
> I understand there is no point in passing empty string to
> hb_i18n_gettext(),
> but the warning text seems misleading and bogus.
>
> Brgds,
> Viktor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.harbour-project.org/pipermail/harbour/attachments/20090501/5dc32733/attachment.html


More information about the Harbour mailing list