Re: Problems building 0.60.2 on HP-UX 11.x
"Gary Setter" <[email protected]>
| Newsgroups | gmane.comp.gnu.aspell.devel |
|---|---|
| Message-ID | <000a01c4e82d$826bed20$4d144a0c@pavilion> |
<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?