If only the compiler you are still on very shaky grounds with -Werror.
Even for the Linux kernel devs -Werror is too harsh.