commit | 5f58b89ecdd1fe7b67bcb568545cdc83bdf90052 | [log] [tgz] |
---|---|---|
author | Alp Toker <alp@nuanti.com> | Fri Jan 17 14:24:23 2014 +0000 |
committer | Alp Toker <alp@nuanti.com> | Fri Jan 17 14:24:23 2014 +0000 |
tree | 91f40a5f17a233405474aba9ce21da39375cf49e | |
parent | 98760c18f85bafd98dde7a309e1b0e677abd47d8 [diff] |
Build fix for gcc builtin The __sync_add_and_fetch() builtin parameter is volatile but clang has 'different' type checking and ends up accepting this code. Undo the C++ cast from r198505 to get libc++/LLVM building with g++ while this is investigated. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@199494 91177308-0d34-0410-b5e6-96231b3b80d8