Fix compilation error with gcc Linux. std::memory_order is an enum class, not an enum, which removes implicit conversions in c++20.
weijian panWrap git commit messages at 72 columns.
Sure.
Bug: 338911999
weijian panThis is not a Chromium or Crashpad bug number.
Sry about this, I just raised a new issue.
// Work around libstdc++ bug 51038 where atomic_thread_fence was declared but
// not defined, leading to the linker complaining about undefined references.
weijian panIf 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.
Yes, I noticed that minichromium and crashpad have recently enabled C++20. Compilers that support C++20 should be able to fix this bug. I think we should remove this branch.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |