Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make CF_ENUM compatible with -Welaborated-enum-base
The syntax relied upon by CF_ENUM does not align with the intent of the C++ feature, and that correction extends to its use in C mode. Add a temporary fix that 'swallows' the user-supplied `typealias` by defining a dummy type, and then does a forward-definition-then-typedef-then-enum-opening dance to apply the correct syntax.
- Loading branch information