enums cannot be static. If it needs to be limited to this object file, wrap it in an anonymous namespace. I'm not sure if that is even needed for enums.

This commit is contained in:
Steve Checkoway
2003-09-30 11:32:06 +00:00
parent 8e8dbb5862
commit ea15e5dfb6
+1 -1
View File
@@ -20,7 +20,7 @@
#include "ScreenManager.h"
static enum {
enum {
PO_PLAYER1,
PO_PLAYER2,
PO_CREATE_NEW,