[LLVMbugs] [Bug 7851] clang++ can't compile CryptoPP 5.6.0

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 2 14:35:38 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7851

Fariborz Jahanian <fjahanian at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #7 from Fariborz Jahanian <fjahanian at apple.com> 2010-11-02 16:35:37 CDT ---
Since report is about compiling this file and clang does not. We should keep
the report open
until other issues are investigated. clang issues errors like:


  m_k[i] = (word32)uk[4*i+3] | ((word32)uk[4*i+2]<<8) | ((word32)uk[4*i+1]<<16)
| ((word32)uk[4*i]<<24);
  ~~~^~
3way.cpp:71:6: note: built-in candidate operator[](unsigned int *, long)
3way.cpp:71:6: note: built-in candidate operator[](const unsigned int *, long)
3way.cpp:71:6: note: built-in candidate operator[](const void *, long)
3way.cpp:71:6: note: built-in candidate operator[](volatile unsigned int *,
long)
3way.cpp:71:6: note: built-in candidate operator[](void *, long)
3way.cpp:71:6: note: built-in candidate operator[](const restrict void *, long)
3way.cpp:71:6: note: built-in candidate operator[](const volatile void *, long)
3way.cpp:71:6: note: built-in candidate operator[](restrict void *, long)
3way.cpp:71:6: note: built-in candidate operator[](volatile void *, long)
3way.cpp:71:6: note: built-in candidate operator[](volatile restrict void *,
long)
3way.cpp:71:6: note: built-in candidate operator[](const volatile restrict void
*, long)
3way.cpp:71:6: note: built-in candidate operator[](const restrict unsigned int
*, long)
3way.cpp:71:6: note: built-in candidate operator[](const volatile unsigned int
*, long)
3way.cpp:71:6: note: built-in candidate operator[](restrict unsigned int *,
long)
3way.cpp:71:6: note: built-in candidate operator[](volatile restrict unsigned
int *, long)
3way.cpp:71:6: note: built-in candidate operator[](const volatile restrict
unsigned int *, long)

...

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list