[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspell-devel] Problems building 0.60.2 on HP-UX 11.x
From: |
Gary Setter |
Subject: |
Re: [aspell-devel] Problems building 0.60.2 on HP-UX 11.x |
Date: |
Wed, 22 Dec 2004 07:41:01 -0600 |
<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?