[llvm-dev] Commit 93af05e03e05d2f85b5a7e20ec3a3a543584d84f causes warning
Bakhvalov, Denis via llvm-dev
llvm-dev at lists.llvm.org
Fri May 31 10:54:26 PDT 2019
After commit 93af05e03e05d2f85b5a7e20ec3a3a543584d84f we have new warning but only if compiled with GCC:
In file included from /path/to/llvm/include/llvm/ExecutionEngine/Orc/ExecutionUtils.h:19:0,
/path/to/llvm/include/llvm/ExecutionEngine/Orc/Core.h:690:25: warning: 'llvm::orc::JITDylib::SymbolTableEntry::State' is too small to hold all values of 'enum class llvm::orc::JITDylib::SymbolState'
SymbolState State : 6;
There is no GCC option for disabling this warning: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414
The issue is that now LLVM is not buildable with GCC and '-Werror' enabled.
In addition, LLVM gcc-werror buildbot seems to be offline since May 9th:
I understand that changing the code to satisfy GCC requirements might not be desired, but I think this is something that we should do.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev