No, as far as I know Mozc will build just fine with Clang. This is an oversight of mine: back when I added the flag I didn't know that it isn't supported by LLVM, and when after a while I was informed about it I just figured that it probably wouldn't be long before I removed it anyway (I never expected that this bug would stay open for ~6 months), and the default system compiler is GCC, so there shouldn't be any real issues. Case in point, you're the first user in almost 6 months that has stumbled upon this (or at least, the first user who has reported it).
So as I said, please bear with this minor inconvenience until the next update, and in the meantime just change the flag and do the build normally.
Pinned Comments
Nocifer commented on 2022-05-29 21:54 (UTC) (edited on 2023-08-22 09:33 (UTC) by Nocifer)
If you're getting compilation errors, please delete your Bazel cache (
~/.cache/bazel
by default).