use -Werror only on gcc 4.8+, and only while in devel mode