<snip>
>       const char empty_str[1];
>                  ^^^^^^^^^
<snip>
My cheap fix was to change the definition to of empty_str to
  const char *empty_str;
and initialize it to empty string in the constructors.
  StringMap() : empty_str("") {}
  StringMap(const StringMap & other) : empty_str("")
{copy(other);}

But the real question is, why do we need this?



_______________________________________________
Aspell-devel mailing list
Aspell-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/aspell-devel

Reply via email to