Thanks Gabriel,

Came to the same conclusion shortly after writing the post. The use of enum is not safe over multiple compiler platforms. Thanks for the link. I'll take a look.

By the way, does anyone know if sizeof(enum) = sizeof(int) is specified?

Thanks again, everyone. This was a very informative post.

Sincerely, Chris.