diff options
author | José Fonseca <[email protected]> | 2009-08-10 15:43:04 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-08-29 09:21:28 +0100 |
commit | 19b31d0ac87a29f971d3399abc9c204fee8fc0e5 (patch) | |
tree | 0fe55af6f3c340d3c85075710dec9be5730cec35 /src | |
parent | fb56786f602d5becea6aea50c5c1dbb1945d12cf (diff) |
llvmpipe: Document the typo in llvm-c/Core.h.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/llvmpipe/README | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/README b/src/gallium/drivers/llvmpipe/README index 55707fe333d..41e83403f92 100644 --- a/src/gallium/drivers/llvmpipe/README +++ b/src/gallium/drivers/llvmpipe/README @@ -9,6 +9,21 @@ Requirements - LLVM. On Debian based distributions do: aptitude install llvm-dev + + There is a type in one of the llvm-dev 2.5 headers, that causes compilation + errors in the debug build: + + --- /usr/include/llvm-c/Core.h.orig 2009-08-10 15:38:54.000000000 +0100 + +++ /usr/include/llvm-c/Core.h 2009-08-10 15:38:25.000000000 +0100 + @@ -831,7 +831,7 @@ + template<typename T> + inline T **unwrap(LLVMValueRef *Vals, unsigned Length) { + #if DEBUG + - for (LLVMValueRef *I = Vals, E = Vals + Length; I != E; ++I) + + for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I) + cast<T>(*I); + #endif + return reinterpret_cast<T**>(Vals); - A x86 or amd64 processor with support for sse2, sse3, and sse4.1 SIMD instructions. This is necessary because we emit several SSE intrinsics for |