Remove -Werror.
Use macro for magic number indicating an infinite number of repeats.