Trailing commas in `enum` are fully allowed in the modern C++ standards.
Do you have any "pluses" of this change?

P.S. You can disable useless pedantic warnings for compiler.