Please report new issues athttps://github.com/DOCGroup
In addition to checking for C++ keywords, the IDL compiler could also check for identifiers in an IDL file that may clash with TAO macros, system macros or definitions, etc. A few likely things to check for would be errno, index, ACE_*, and TAO_*. This list would of course grow as things pop up.
This is an enhancement, put here for future reference. Either myself or one of the new DOC Group members could take this on at some point.