Zoltán Borók-Nagy created IMPALA-13190:
------------------------------------------

             Summary: Backport Clang compiler fix to Toolchain Clang 5.0.1
                 Key: IMPALA-13190
                 URL: https://issues.apache.org/jira/browse/IMPALA-13190
             Project: IMPALA
          Issue Type: Sub-task
          Components: Toolchain
            Reporter: Zoltán Borók-Nagy


Toolchain Clang 5.0.1 fails to compile the CRoaring library.

There was an overlook in the C11 standard that didn't allow const argument for 
atomic_load operations. It was later revised, see 
[https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1807.htm]

Since then GCC/Clang allow passing const _Atomic(T)* in all versions of C.
 * LLVM discussion thread: 
[https://lists.llvm.org/pipermail/cfe-dev/2018-May/058129.html]
 * Clang fix: 
[https://github.com/llvm/llvm-project/commit/b4b1f59869b1045258787f5a138f9710859cfe95]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to