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
I think it's the following line:
int size_of( int );
...should be something more like:
int sizeOfInt = size_of( int );
edit
I just compiled it on my machine and it's your OVERFLOW
definition... #define's are evil!
Try this:
enum STR_TO_INT_STATUS { STR_TO_INT_SUCCESS, STR_TO_INT_OVERFLOW, STR_TO_INT_UNDERFLOW, STR_TO_INT_INCONVERTIBLE};