Re: enumerated types and rootcint

Masaharu Goto (gotom@hpyiddq.jpn.hp.com)
Mon, 23 Jun 1997 11:40:46 JST


Terrence,

This shouldn't happen in principal. Will you check if there is hidden
invisible character in the line you define enum result_state? This is
the most likely cause of this kind of problem. Please double check and
re-type the 'enum result_state {UNDIS....};' line.

Masaharu Goto

> enum result_state; // ?????????????????
> enum result_state {UNDISPLAYED, ACTIVE_SOURCE, ACTIVE_RESULT, ARCHIVED};
> It seems bizarre that I must have the line "enum result_state;"
> If I don't have it, then when rootcinting the class definition:
> class Result {
> ...
> result_state state;
> }