script to highlight errors and implicit warnings