RLBox - Ensure libThebes can be safely compiled with c++17
Categories
(Core :: Graphics, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: shravanrn, Assigned: shravanrn, Mentored)
References
()
Details
Attachments
(1 file)
The RLBox requires compilation with c++ 17. Since we are changing libThebes to use RLBox, this must compiled with c++17. However, portions of libThebes such as some code specific to the Windows platform throws errors (which are warnings turned errors) when compiled with c++ 17, as listed here.
Comment 1•5 years ago
|
||
This change is motivated by atomic::load
being nodiscard
on Windows
and atomic_thread_fence
being closer to what Arc::drop
and
ThreadSafeAutoRefCnt
does. We keep the MOZ_TSAN
refinement of
ThreadSafeAutoRefCnt
as well.
Comment 2•5 years ago
|
||
(In reply to Shravan Narayan from comment #0)
The RLBox requires compilation with c++ 17. Since we are changing libThebes to use RLBox, this must compiled with c++17. However, portions of libThebes such as some code specific to the Windows platform throws errors (which are warnings turned errors) when compiled with c++ 17, as listed here.
NB: it's helpful to provide example errors inline in your bug reports, rather than relying on treeherder logs, as treeherder logs eventually expire, whereas Bugzilla comments do not.
Comment 4•5 years ago
|
||
bugherder |
Assignee | ||
Comment 5•5 years ago
|
||
oh yay! that was quick :)
NB: it's helpful to provide example errors inline in your bug reports, rather than relying on treeherder logs, as treeherder logs eventually expire, whereas Bugzilla comments do not.
Noted.
Description
•