std lib is in std:: namespace only and array definition is not possible with an enum
diff --git a/tinyxml2.cpp b/tinyxml2.cpp
index 2536414..1bf4fda 100755
--- a/tinyxml2.cpp
+++ b/tinyxml2.cpp
@@ -31,6 +31,7 @@
 #endif

 

 using namespace tinyxml2;

+using namespace std;

 

 static const char LINE_FEED				= (char)0x0a;			// all line endings are normalized to LF

 static const char LF = LINE_FEED;