If avrogencpp is run against a schema that uses C++ reserved words for field names, it will generate C++ code that cannot be compiled.
avrogencpp currently has a list of C++ reserved words, but it only checks this list when generating an enum, fixed, or record type:
The result is, if you have a schema such as cpp-reserved-words.avsc (attached)
and run ```avrogencpp -i cpp-reserved-wrods.avsc -o cannot-compile.cpp```, avrogencpp will generate C++ code that cannot be compiled: cannot-compile.cpp (attached).
The fix this involves calling decorate on all names, instead of in the few places it's already called.
I have a patch that fixes this and adds a unit test, and I will be opening a PR with the fix.