[Lldb-commits] [lldb] r184335 - The 'register' keyword is now deprecated in C++11, so ignore the warning when compiling lldb with clang since python headers commonly use the keyword.

Andy Gibbs andyg1001 at hotmail.co.uk
Wed Jun 19 23:51:52 PDT 2013


On Thursday, June 20, 2013 3:20 AM, Matthew Sorrels wrote:

> This change causes clang 3.2/3.3 to spew out the following warning a lot:
>
> warning: unknown warning option '-Wno-deprecated-register'; did you mean
> '-Wno-deprecated'? [-Wunknown-warning-option]
>
> Can't seem to build at all with clang 3.4 (but that may be my fault
> since I had to build 3.4 and couldn't use a binary release.)
>
> Could this be wrapped in something like:
>
> if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CLANG_VERSION_STRING
> VERSION_GREATER "3.3")
>
> Assuming this -W works in clang 3.4?

Sorry; fixed in r184399.

Thanks,
Andy




More information about the lldb-commits mailing list