On Mon, Dec 15, 2003 at 06:52:45PM -0600, Albert Chin wrote:
> ld: 0711-317 ERROR: Undefined symbol: CharReader::NOCHAR
> ld: 0711-317 ERROR: Undefined symbol: CharReader::EOFCHAR
>
> class CharReader : public SMTask
> {
> ...
> static const int NOCHAR=-2;
> static const int EOFCHAR=-1;
You can change it to:
enum { NOCHAR=-2, EOFCHAR=-1 };
But the compiler should have optimized these consts.
--
Alexander.
