I have two enums in my code:
enum Month {January, February, March, April, May, June, July,
August, September, October, November, December};
enum ShortMonth {Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec};
May
is a common element in both enums, so the compiler says:
Redeclaration of enumerator '
May
'.
Why does it say so? And how can I circumvent this?