Closed Bug 1504951 Opened 4 years ago Closed 4 years ago
[Wayland] Clang plugin reports coding errors
47 bytes, text/x-phabricator-request
|Details | Review|
> clang plugin reports coding errors (you can try building > with clang and --enable-clang-plugin, but be aware that GCC miscompiles > clang in a way that breaks clang plugins, so make sure you use a clang > built with clang).
Hm, I'm unable to build with clang-plugin on Fedora 29. When the clang is supposed to use the plugin ld.so complains about missing std::_V2::error_category::~error_category() symbol. I have only mozilla provided clang/llvm installed except system llvm-libs-7.0.0-2.fc29.x86_64 / clang-libs-7.0.0-2.fc29.x86_64 - I wonder if that causes the problem.
Not sure if Bug 1428158 is related or not.
- Missing explicit to avoid implicit conversion constructors. - Add a dummy use of an otherwise unused RefPtr that is used for RAII of a DBus object.
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/18ea6c93e858 Fix static analysis errors that arise when enabling wayland support. r=jhorak
You need to log in before you can comment on or make changes to this bug.