It seems that -Werror is hardcoded in your plugin. I believe that it would be better if the user could specify this kind of args...