enum

Rutger van der Eijk (r36@nikhef.nl)
Fri, 27 Mar 1998 16:51:12 +0100 (MET)


Hi ROOTERS,

In an interactive ROOT session (or in a macro) I want to declare some
enums:

enum OTTMessageTypes {
kMESS_START = 10001, // Start client
kMESS_STOP // Stop client
};

i get the error message:

Error: No memory for static fgIsA\0\ffffffff FILE:/var/tmp/aaaa23601
LINE:1
Error: kMESS_STOP Missing ';' FILE:/var/tmp/aaaa23601 LINE:5

Am I doing something wrong, os isn't it possible to use the enumeration
type?

Rutger van der Eijk