turn on -Werror and fix resulting errors

I end up with:
x = z, y = -x, z = -y :-)