using C++11 extension in clang gives:
```
warning: commas at the end of enumerator lists are a C++11 extension [-Wc++11-extensions]
```