I\'m testing code remotely on a Solaris machine through SSH Secure Shell using c++. Not sure of what version anything is; Solaris, the c++/compiler, etc. (and don\'t know ho
My guess is that either or have defines for one or more of SUCCESS, OVERFLOW, UNDERFLOW, INCONVERTIBLE, which causes your enum identifiers to be converted to "numeric constants", which in turn would cause the errors that you are seeing.
You don't see them in the first version because you didn't include those headers.
Simple way to check: Try renaming the enum identifiers.