Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap static
_##ENUM_TYPENAME##_constants_string
var in `_Pragma("cl…
…ang diagnostic ignored \"-Wunused-value\"")` to suppress "Unused variable" warnings as pointed out in #3. Pretty sure these warnings didn't show up with the version of Xcode/clang that I wrote JREnum with. Anyway, this is kinda academic since a couple of versions back `_Pragma("clang diagnostic ignored \"-Wunused-value\"")` stopped working. I'm putting this in here anyway hoping it starts working again in a future version of clang.
- Loading branch information