Bruno Haible wrote:
> Wrong advice. On some platforms mbstate_t is a scalar, which you can't
> initialize like this.

Yes, now I see: I have checked the ASCII edition that Markus pointed us to,
and it is clear that mbstate_t is an "any object type except an array"; and
an "object type" is clearly defined as any type that can be used to declare
a variable.

So now I agree that a memset() is the only available way of initializing it.

Thanks for the very useful info and links.

_ Marco
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to