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
enum STR_TO_INT_STATUS { SUCCESS, OVERFLOW, UNDERFLOW, INCONVERTIBLE };
Perhaps on of the enumerators like SUCCESS
was already previously defined. Try using SUCCESS_TEST or something to verify this.
Another way to verify this is to compile the code with the -E
option, this shows the preprocessor output. For example: gcc -E main.cpp