Suuports clang compiler
[anna.git] / include / anna / core / define.autoenum.hpp
index ebc404c..ab10e70 100644 (file)
    static const char* asNotNullCString (const _v v) throw () { return (v != None) ? literal [v]: "<none>"; } \
    static std::string asList () throw () {\
       std::string result;\
-      for (register int ii = 0; literal [ii] != NULL; ii ++) { \
+      for (int ii = 0; literal [ii] != NULL; ii ++) { \
          if (ii == 0 && strcmp (literal [ii], "None") == 0) continue; \
          if (ii > 1) result += ' '; \
          result += "'"; result += literal [ii]; result += "'"; \