Re-added the compiler option -Wno-deprecated-register to clang