I am trying to fix compilation error with gcc Linux. In atomicops_internals_portable.h Line 57 : __atomic_thread_fence(std::memory_order_seq_cst);
std::memory_order is an enum class, not an enum, which removes implicit conversions in c++20.
Best regards
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Fix compilation error with gcc Linux. std::memory_order is an enum class, not an enum, which removes implicit conversions in c++20.
Wrap git commit messages at 72 columns.
Bug: 338911999
This is not a Chromium or Crashpad bug number.
// Work around libstdc++ bug 51038 where atomic_thread_fence was declared but
// not defined, leading to the linker complaining about undefined references.
If your libstdc++ is new enough to have C++20 support, is it also new enough for this bug to be fixed?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51038
It was fixed in 2011. Maybe we don’t need this branch at all any longer.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |