Closed Bug 1504951 Opened 4 years ago Closed 4 years ago

[Wayland] Clang plugin reports coding errors

Categories

(Core :: Widget: Gtk, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: stransky, Assigned: glandium)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

> 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.
Assignee: stransky → mh+mozilla
- 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 mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/18ea6c93e858
Fix static analysis errors that arise when enabling wayland support. r=jhorak
https://hg.mozilla.org/mozilla-central/rev/18ea6c93e858
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.