[Mesa-dev] [Bug 111262] lp_bld_misc.cpp:811:51: error: ‘llvm::AtomicOrdering’ is not a class or namespace

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 30 21:29:28 UTC 2019


--- Comment #2 from Roland Scheidegger <sroland at vmware.com> ---
Seems like different llvm versions (before 5.0) need different wrappers for
AtomicCmpXchg(). Pretty much the same issue as bug 111102.
Although I can't reproduce this bug actually, maybe depends on compiler. (I can
reproduce the other one, for llvm 3.5-3.8 the function parameters are wrong.)
Though I'm wondering if we actually need a mapping function, isn't it possible
to just static cast the c enum to the class enum (as in

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190730/65f3b5ac/attachment.html>

More information about the mesa-dev mailing list