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...@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 > >
_______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour