Bruno Haible <br...@clisp.org> writes: > Thanks for the report. The relevant gcc option here is '-Wextra'. > Fixed through the patch below. > >> I think I remember you mentioning that gettext will be standardized to >> return 'const char *' in the future. If so, I expect glibc and others to >> change this in the future. > > I hope this will happen, in the long run. Can't guarantee it. But where I can > I want to see warnings for confusion-introducing code like > > char *s = gettext ("foo");
Thanks! That fix looks reasonable to me. Collin