Open davezarzycki opened 4 years ago
Comment by Ryan (JIRA)
This breaks the build on Fedora 33 which is shipping with LLVM 11.
Just compile with -Wno-error=elaborated-enum-base as a workaround.
As an aside for the Swift compiler engineers that still have sway with the clang engineers: What on earth is going on with this warning? I've never seen a warning that defaults to `-Werror` and therefore one must use `-Wno-error=` to veto the default.
Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: c7e068f9466beb551a4952670fa49116Issue Description:
As a heads up to the indexstore.h DRI, top-of-tree clang is more strict about enum parsing and semantic validation:
See llvm-project commit d6425e2c14370ecb5e2a4be4cfdef65f8ae69bd0 and notably the commit message: